getsentry / getsentry/sentry-react-native

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

Offen
#3,537 33 Kommentare 34 Reaktionen 1 zugewiesene Person Beansprucht von @lucas-zimerman Auf GitHub ansehen
Expo Improvement React-Native
Vorherrschende Sprache
TypeScript
Sterne
1.8k
Forks
366
Ø Merge
1 T. 5 Std.
Gemergte PRs (30 T.)
93

Beschreibung

**OS:**

- [ ] Windows
- [X] MacOS
- [ ] Linux

**Platform:**

- [X] iOS
- [ ] Android

**SDK:**

- [X] `@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?**

- [X] Yes, SDK 50
- [ ] No

**Are you using **[**sentry.io**]()** or on-premise?**

- [X] [sentry.io]() (SaaS)
- [ ] 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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.