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

Multiple commands produce PrivacyInfo.xcprivacy [Expo] #3810

Open
5 of 11 tasks
julian-gargicevich opened this issue May 9, 2024 · 2 comments
Open
5 of 11 tasks

Multiple commands produce PrivacyInfo.xcprivacy [Expo] #3810

julian-gargicevich opened this issue May 9, 2024 · 2 comments
Assignees
Labels
Expo Issues related to Sentry React Native Expo support Platform: React-Native

Comments

@julian-gargicevich
Copy link

julian-gargicevich commented May 9, 2024

OS:

  • Windows
  • MacOS
  • Linux

Platform:

  • iOS
  • Android

SDK:

  • @sentry/react-native (>= 1.0.0)
  • react-native-sentry (<= 0.43.2)

SDK version: 5.22.0

react-native version: 0.74.1

Are you using Expo?

  • Yes
  • No

Are you using sentry.io or on-premise?

  • sentry.io (SaaS)
  • on-premise

If you are using sentry.io, please post a link to your issue so we can take a look:

[Description]

Steps to reproduce:

  • Install Expo SDK 51 with the new privacyManifests config
  • Run expo build

Actual result:

❌ error: Multiple commands produce '/Users/expo/Library/Developer/Xcode/DerivedData/App-fjauxkscdlvanfetgxcdeduzrxxs/Build/Intermediates.noindex/ArchiveIntermediates/App/InstallationBuildProductsLocation/Applications/App.app/PrivacyInfo.xcprivacy'

⚠️ Script has ambiguous dependencies causing it to run on every build.
To fix, go to: Xcode » App/App » Build Phases » 'Upload Debug Symbols to Sentry'
Either: Uncheck "Based on dependency analysis", or select output files to trigger the script

Expected result:

Successful build

@krystofwoldrich
Copy link
Member

Hi @julian-gargicevich,
thank you for the message, we will investigate this.

When you mention the new config are you referring to this https://docs.sentry.io/platforms/react-native/data-management/apple-privacy-manifest/

@krystofwoldrich krystofwoldrich added the Expo Issues related to Sentry React Native Expo support label May 10, 2024
@krystofwoldrich krystofwoldrich self-assigned this May 10, 2024
@kahest
Copy link
Member

kahest commented May 10, 2024

Related: Expo 51 changelog entry on Apple Privacy Manifest. There is a new features to merge manifests, but this is disabled by default, so currently we wouldn't expect Expo 51 to behave differently than Expo 50.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Expo Issues related to Sentry React Native Expo support Platform: React-Native
Projects
Status: No status
Status: Needs Investigation
Development

No branches or pull requests

3 participants