Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Same PrivacyInfo.xcprivacy file name is causing 'Multiple commands produce PrivacyInfo.xcprivacy' error #15

Open
fatinfarzanaazizan opened this issue Apr 22, 2024 · 2 comments

Comments

@fatinfarzanaazizan
Copy link

fatinfarzanaazizan commented Apr 22, 2024

Hi, it seems that having the same file name: PrivacyInfo.xcprivacy from clevertap geofence sdk and our local app project is throwing error as below:

Multiple commands produce '/Users/app/PrivacyInfo.xcprivacy'

There's a workaround where we can download the source code and modify the resource path in podspec (tried it out and it works fine) but I would like to avoid this.

Hope you guys can have a look at it and let me know if more details are required. Thanks

Steps to reproduce:

  1. Create a PrivacyInfo.xcprivacy file in project file
  2. pod install (where podfile contains CleverTap-Geofence-SDK)
  3. build app

Actual Result: Xcode fails to build with error Multiple commands produce '/Users/app/PrivacyInfo.xcprivacy'

Clevertap sdks in podfile:

    pod "CleverTap-iOS-SDK", '~> 5.1.1', :modular_headers => true, :inhibit_warnings => true
    pod 'CleverTap-Geofence-SDK', :inhibit_warnings => true
@fatinfarzanaazizan fatinfarzanaazizan changed the title Same PrivacyInfo.xcprivacy file name is causing Multiple commands produce PrivacyInfo.xcprivacy error Same PrivacyInfo.xcprivacy file name is causing' Multiple commands produce PrivacyInfo.xcprivacy' error Apr 22, 2024
@fatinfarzanaazizan fatinfarzanaazizan changed the title Same PrivacyInfo.xcprivacy file name is causing' Multiple commands produce PrivacyInfo.xcprivacy' error Same PrivacyInfo.xcprivacy file name is causing 'Multiple commands produce PrivacyInfo.xcprivacy' error Apr 22, 2024
@akashvercetti
Copy link
Contributor

akashvercetti commented Apr 22, 2024

@fatinfarzanaazizan We will be releasing a hotfix for this. In the meantime could you try out the branch with the fix yourself?

pod 'CleverTap-Geofence-SDK', :git => 'https://github.com/CleverTap/clevertap-geofence-ios.git', :branch => 'task/SDK-3766-geofence-xcprivacy-fix'

@fatinfarzanaazizan
Copy link
Author

fatinfarzanaazizan commented Apr 22, 2024

@fatinfarzanaazizan We will be releasing a hotfix for this. In the meantime could you try out the branch with the fix yourself?

pod 'CleverTap-Geofence-SDK', :git => 'https://github.com/CleverTap/clevertap-geofence-ios.git', :branch => 'task/SDK-3766-geofence-xcprivacy-fix'

Hi @akashvercetti , tried it out with the branch above in podfile. Able to build and works great. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants