Podspec file does not validate when added resource_bundle for localization in 'BinaryFramework'
Swapnil1794 opened this issue · 0 comments
Issue
ℹ Please provide a quick description for this issue.
Xcode - 11.5
MacOS - 10.15.3
Swift - 5
Localize Config
Pod::Spec.new do |s|
s.platform = :ios
s.ios.deployment_target = '11.1'
s.name = "*"
s.summary = " for customer."
s.requires_arc = true
s.version = "0.1.2"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "Swapnil G" => "**" }
s.homepage = "***"
s.source = { :git => "***",
:tag => "#{s.version}" }
s.ios.framework = "UIKit"
s.framework = "WebKit"
s.ios.framework = "HealthKit"
s.dependency 'SQLite.swift','> 0.12.2'> 4.9.1'
s.dependency 'Alamofire', '
s.dependency 'Charts', '> 3.4.0'> 1.3.0'
s.dependency 'CryptoSwift', '
s.dependency 'NVActivityIndicatorView', '> 4.8.0'> 2.3.0'
s.dependency 'SwiftSoup', '
s.dependency 'SwiftyJSON', '> 5.0.0'> 2.3.13'
s.dependency 'DropDown', '
s.dependency 'HGCircularSlider', '> 2.2.0'> 4.3.2'
s.dependency 'RealmSwift', '
s.dependency 'HGCircularSlider', '> 2.2.0'> 2.3.13'
s.dependency 'DropDown', '
s.source_files = ".framework/Headers/*.h"
s.public_header_files = ".framework/Headers/*.h"
s.vendored_frameworks = "**.framework"
s.resource_bundle = { "**" => ["Localize/.lproj/.strings"] }
s.swift_version = "5.0"
end
What did you do?
Added strings file for hindi and english language checked with normal framework (not binary framework), it works as expected but not with the binaryframework
What did you expect to happen?
Localization should work for binaryframework also.
What happened instead?
Validation failed with error - [iOS] file patterns: The resource_bundles
pattern for Framework_Bundle
did not match any file.