Remove ambiguos dependencies from Upload Debug Symbols to Sentry in sentry/wizard and docs

Open
#3,537 33 comments 34 reactions 1 assignee View on GitHub

@lucas-zimerman is already working on this.

Since Mar 5, 2025.

Assessment

This issue has not been assessed yet.

Description

Expo Improvement React-Native

OS:

  • Windows
  • MacOS
  • Linux

Platform:

  • iOS
  • Android

SDK:

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

SDK version: 5.16.0

react-native version: 0.73.2

Are you using Expo?

  • Yes, SDK 50
  • No

Are you using sentry.io or on-premise?


I have the following issue:

During build, I see a warning regarding an ambiguous dependency. I am using the "@sentry/react-native/expo" config plugin.

Steps to reproduce:

  • Step 1: Install Sentry in a new Expo project
  • Step 2: Run npx expo run ios and observe the logs

Actual result:

I see the following warning:

⚠️ 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:

I expected no warnings.

Dominant language
TypeScript
Stars
1.8k
Forks
367
Avg merge
1d 6h
Merged PRs (30d)
94

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from getsentry/sentry-react-native

All issues in getsentry/sentry-react-native

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.