From 4bcf3ce78e2fab5d3d396dd6ddcc21385c95129a Mon Sep 17 00:00:00 2001 From: Haven Date: Wed, 27 Mar 2024 15:11:00 +0800 Subject: [PATCH] Fix 'Multiple commands produce' error when the App need to add PrivacyInfo.xcprivacy. --- Mixpanel.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mixpanel.podspec b/Mixpanel.podspec index 9782c641..7d5c3520 100644 --- a/Mixpanel.podspec +++ b/Mixpanel.podspec @@ -6,7 +6,7 @@ Pod::Spec.new do |s| s.license = 'Apache License, Version 2.0' s.author = { 'Mixpanel, Inc' => 'support@mixpanel.com' } s.source = { :git => 'https://github.com/mixpanel/mixpanel-iphone.git', :tag => "v#{s.version}" } - s.resources = 'Sources/Mixpanel/PrivacyInfo.xcprivacy' + s.resource_bundles = {'Mixpanel' => ['Sources/Mixpanel/PrivacyInfo.xcprivacy']} s.requires_arc = true s.libraries = 'icucore' s.swift_version = '4.2'