Skip to content

Commit

Permalink
Separate bundle identifier for watchOS target (AFNetworking#4533)
Browse files Browse the repository at this point in the history
  • Loading branch information
ElfSundae authored Mar 30, 2020
1 parent 71951aa commit 8052913
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions AFNetworking.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,18 @@ Pod::Spec.new do |s|
s.authors = { 'Mattt Thompson' => 'm@mattt.me' }
s.source = { :git => 'https://github.com/AFNetworking/AFNetworking.git', :tag => s.version }

s.pod_target_xcconfig = {
'PRODUCT_BUNDLE_IDENTIFIER' => 'com.alamofire.AFNetworking'
}

s.source_files = 'AFNetworking/AFNetworking.h'

s.ios.deployment_target = '9.0'
s.osx.deployment_target = '10.10'
s.watchos.deployment_target = '2.0'
s.tvos.deployment_target = '9.0'

s.ios.pod_target_xcconfig = { 'PRODUCT_BUNDLE_IDENTIFIER' => 'com.alamofire.AFNetworking' }
s.osx.pod_target_xcconfig = { 'PRODUCT_BUNDLE_IDENTIFIER' => 'com.alamofire.AFNetworking' }
s.watchos.pod_target_xcconfig = { 'PRODUCT_BUNDLE_IDENTIFIER' => 'com.alamofire.AFNetworking-watchOS' }
s.tvos.pod_target_xcconfig = { 'PRODUCT_BUNDLE_IDENTIFIER' => 'com.alamofire.AFNetworking' }

s.source_files = 'AFNetworking/AFNetworking.h'

s.subspec 'Serialization' do |ss|
ss.source_files = 'AFNetworking/AFURL{Request,Response}Serialization.{h,m}'
end
Expand Down

0 comments on commit 8052913

Please sign in to comment.