Apple privacy manifest duplication issue
DanielPritchard opened this issue · 5 comments
Checklist
- The issue can be reproduced in the react-native-auth0 sample app (or N/A).
- I have looked into the Readme, Examples, and FAQ and have not found a suitable solution or answer.
- I have looked into the API documentation and have not found a suitable solution or answer.
- I have searched the issues and have not found a suitable solution or answer.
- I have searched the Auth0 Community forums and have not found a suitable solution or answer.
- I agree to the terms within the Auth0 Code of Conduct.
Description
Upgrading to package version 3.2.0 has caused an error at build time, it appears my local PrivacyInfo.xcprivacy
is conflicting with this package, I get the following error
error: Multiple commands produce '/Users/dan/Library/Developer/Xcode/DerivedData/myproject-ebjsfdssgrakgmbywhgztfeqpxtd/Build/Products/Debug-iphoneos/myproject.development.local.app/PrivacyInfo.xcprivacy'
note: Target 'myproject.development.local' (project 'myproject') has copy command from '/Users/dan/projects/github/repo/apps/myproject/ios/PrivacyInfo.xcprivacy' to '/Users/dan/Library/Developer/Xcode/DerivedData/myproject-ebjsfdssgrakgmbywhgztfeqpxtd/Build/Products/Debug-iphoneos/myproject.development.local.app/PrivacyInfo.xcprivacy'
note: That command depends on command in Target 'myproject.development.local' (project 'myproject'): script phase "[CP] Copy Pods Resources"
Downgrading to 3.1.0 fixes this issue
I have found similar issues reported in other libs (I am not using this lib, just sharing as an example of the same error I am facing with this lib) e.g. getsentry/sentry-react-native#3599
Reproduction
Already have a privacy manifest file thats target membership is the project and upgrade react-native-auth0 from 3.1.0
to 3.2.0
Additional context
No response
react-native-auth0 version
3.2.0
React Native version
0.71.14
Expo version
No response
Platform
iOS
Platform version(s)
13
Facing same issue since upgrading react-native
to 0.71.19. Downgrading auth0 package to 3.1.0 from 3.2.0 fixes the issue
Upgraded to RN 0.73.8
and using 3.2.0
facing same issue.
Upgraded to RN 0.73.8and using 3.2.0 facing same issue.
0.73.2 is good.
Hi @DanielPritchard, @bhandanyan-nomad, @quachdev, @andresfelipe3112
We've just released version 3.2.1
of the SDK with the fix for this issue, please upgrade to it and feel free to open back the issue, if this isn't resolved yet.