I have podspec for my generic code and I included all the locales, but then Podspec users get their application localized for all languages ββwhen they just want a subset.
I would like to allow the specification of only a subset, for example, only English. But I cannot get this type of behavior to work. Any tips?
Using the Sampe Podcast
# Just English languages pod 'MyStuff', '2.4.0' pod 'MyStuff/en', '2.4.0' pod 'MyStuff/en-GB', '2.4.0'
Podspec example for MyStuff.podspec
Pod::Spec.new do |s| s.name = 'MyStuff' s.version = '2.4.0' s.summary = "MyStuff for iOS." s.source = { :git => 'somewhere', :tag => s.version.to_s } s.public_header_files = ['**/**/MyView.h', ...] s.source_files = ['MyStuff/*.{h,m}' ] s.resources = ['MyStuff/Resources/*.{png,xib}', 'MyStuff/config.plist'] s.platform = :ios, '5.0' s.requires_arc = true s.frameworks = 'CoreGraphics', 'Foundation', 'QuartzCore', 'SystemConfiguration', 'UIKit'
source share