From 0c57618799a4690dab02e424cf5ff6a10916e3f6 Mon Sep 17 00:00:00 2001 From: Maikel van den Hurk Date: Wed, 10 Apr 2024 23:12:27 +0200 Subject: [PATCH] fix: use resource_bundles for privacy manifest --- CleverTap-iOS-SDK.podspec | 3 ++- CleverTapLocation.podspec | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CleverTap-iOS-SDK.podspec b/CleverTap-iOS-SDK.podspec index 8e4e2331..19fab6cd 100644 --- a/CleverTap-iOS-SDK.podspec +++ b/CleverTap-iOS-SDK.podspec @@ -8,7 +8,8 @@ s.author = { "CleverTap" => "http://www.clevertap.com" } s.source = { :git => "https://github.com/CleverTap/clevertap-ios-sdk.git", :tag => s.version.to_s } s.requires_arc = true s.module_name = 'CleverTapSDK' -s.resources = 'CleverTapSDK/*.{cer,xcprivacy}' +s.resources = 'CleverTapSDK/*.{cer}' +s.resource_bundles = {'CleverTapSDK' => ['CleverTapSDK/*.{xcprivacy}']} s.ios.dependency 'SDWebImage', '~> 5.11' s.ios.resource_bundle = {'CleverTapSDK' => ['CleverTapSDK/**/*.{png,xib,html}', 'CleverTapSDK/**/*.xcdatamodeld']} s.ios.deployment_target = '9.0' diff --git a/CleverTapLocation.podspec b/CleverTapLocation.podspec index b986f09e..3b148ce2 100644 --- a/CleverTapLocation.podspec +++ b/CleverTapLocation.podspec @@ -8,7 +8,7 @@ s.author = { "CleverTap" => "http://www.clevertap.com" } s.source = { :git => "https://github.com/CleverTap/clevertap-ios-sdk.git", :tag => s.version.to_s } s.requires_arc = true s.module_name = 'CleverTapLocation' -s.resources = 'CleverTapLocation/**/*.xcprivacy' +s.resource_bundles = {'CleverTapLocation' => ['CleverTapLocation/**/*.xcprivacy']} s.ios.deployment_target = '9.0' s.ios.source_files = 'CleverTapLocation/**/**/*.{h,m}' s.ios.public_header_files = 'CleverTapLocation/CleverTapLocation/Classes/CTLocationManager.h'