Skip to content

Commit

Permalink
fix: specify resource_bundle vs resource for resources in cocoapods
Browse files Browse the repository at this point in the history
  • Loading branch information
crleona committed Apr 9, 2024
1 parent b25fab0 commit deea7a9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Amplitude.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@ Pod::Spec.new do |s|

s.ios.deployment_target = '10.0'
s.ios.source_files = 'Sources/Amplitude/**/*.{h,m}'
s.ios.resources = 'Sources/Resources/*.{der}', 'Sources/PrivacyInfo.xcprivacy'
s.ios.resource_bundle = { 'Amplitude_Amplitude': ['Sources/Resources/*.{der}', 'Sources/PrivacyInfo.xcprivacy'] }

s.tvos.deployment_target = '9.0'
s.tvos.source_files = 'Sources/Amplitude/**/*.{h,m}'
s.tvos.resources = 'Sources/Resources/*.{der}', 'Sources/PrivacyInfo.xcprivacy'
s.tvos.resource_bundle = { 'Amplitude_Amplitude': ['Sources/Resources/*.{der}', 'Sources/PrivacyInfo.xcprivacy'] }

s.osx.deployment_target = '10.10'
s.osx.source_files = 'Sources/Amplitude/**/*.{h,m}'
s.osx.resources = 'Sources/Resources/*.{der}', 'Sources/PrivacyInfo.xcprivacy'
s.osx.resource_bundle = { 'Amplitude_Amplitude': ['Sources/Resources/*.{der}', 'Sources/PrivacyInfo.xcprivacy'] }

s.watchos.deployment_target = '3.0'
s.watchos.source_files = 'Sources/Amplitude/**/*.{h,m}'
s.watchos.resources = 'Sources/Resources/*.{der}', 'Sources/PrivacyInfo.xcprivacy'
s.watchos.resource_bundle = { 'Amplitude_Amplitude': ['Sources/Resources/*.{der}', 'Sources/PrivacyInfo.xcprivacy'] }

s.dependency 'AnalyticsConnector', '~> 1.0.0'

Expand Down

0 comments on commit deea7a9

Please sign in to comment.