Skip to content

Commit

Permalink
Podspec update
Browse files Browse the repository at this point in the history
  • Loading branch information
marmelroy committed Aug 6, 2016
1 parent 773e141 commit 8e4e0e7
Showing 1 changed file with 18 additions and 11 deletions.
29 changes: 18 additions & 11 deletions PhoneNumberKit.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,30 @@ Pod::Spec.new do |s|
s.source = { :git => "https://github.com/marmelroy/PhoneNumberKit.git", :tag => s.version.to_s }
s.social_media_url = "http://twitter.com/marmelroy"

s.ios.deployment_target = '8.0'
s.osx.deployment_target = '10.9'
s.tvos.deployment_target = '9.0'
s.watchos.deployment_target = '2.0'

s.requires_arc = true

s.source_files = "PhoneNumberKit"
s.resources = "PhoneNumberKit/Resources/PhoneNumberMetadata.json"

s.frameworks = 'CoreTelephony'

s.subspec 'UIKit' do |ss|
ss.ios.deployment_target = '8.0'
ss.tvos.deployment_target = '9.0'
s.ios.deployment_target = '8.0'
s.osx.deployment_target = '10.9'
s.tvos.deployment_target = '9.0'
s.watchos.deployment_target = '2.0'

s.subspec 'PhoneNumberKitCore' do |core|
core.ios.deployment_target = '8.0'
core.osx.deployment_target = '10.9'
core.tvos.deployment_target = '9.0'
core.watchos.deployment_target = '2.0'
core.source_files = "PhoneNumberKit/*.{swift}"
core.resources = "PhoneNumberKit/Resources/PhoneNumberMetadata.json"
end

ss.source_files = 'PhoneNumberKit/UI/'
s.subspec 'UIKit' do |ui|
ui.dependency 'PhoneNumberKit/PhoneNumberKitCore'
ui.ios.deployment_target = '8.0'
ui.tvos.deployment_target = '9.0'
ui.source_files = 'PhoneNumberKit/UI/'
end

end

0 comments on commit 8e4e0e7

Please sign in to comment.