From deea7a92a6813771f9f707a042bf3b3e430c073b Mon Sep 17 00:00:00 2001 From: Chris Leonavicius Date: Mon, 8 Apr 2024 18:49:29 -0700 Subject: [PATCH] fix: specify resource_bundle vs resource for resources in cocoapods --- Amplitude.podspec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Amplitude.podspec b/Amplitude.podspec index 77f3a919..f852e996 100644 --- a/Amplitude.podspec +++ b/Amplitude.podspec @@ -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'