You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SDK 8 / sentry-cli 3: local Debug iOS builds hard-fail without SENTRY_ORG ("An organization ID or slug is required") — was warn-and-continue on 7.x #6399
Expo SDK 57 project with @sentry/react-native@8.17.1 and the @sentry/react-native/expo config plugin.
Developer machine with no Sentry auth configured — no SENTRY_ORG / SENTRY_AUTH_TOKEN env, no sentry.properties with an org (the common case for a teammate or CI leg that isn't meant to upload).
Local Debug builds without upload credentials succeed, skipping source-map/debug-file upload — the behavior we observed on 7.x: the same project, same machine, same missing env built fine before the upgrade, only warning about the skipped upload.
Actual result
The "Bundle React Native code and images" phase hard-fails the build:
error: sentry-cli - error: An organization ID or slug is required (provide with --org, set SENTRY_ORG, or use an org-scoped auth token)
So after upgrading, every developer who doesn't export Sentry credentials can no longer produce a local Debug build until they discover SENTRY_DISABLE_AUTO_UPLOAD=true.
Workaround
export SENTRY_DISABLE_AUTO_UPLOAD=true before building (or setting it per-scheme). Works, but it's a hidden tribal-knowledge step — nothing in the upgrade guide flags that tokenless local builds now fail instead of warn.
Ask
Either (a) restore warn-and-continue when no org/token is configured (at least for Debug configuration), or (b) call this out loudly in the v8 migration docs as a breaking change for local builds. The v3 sentry-cli strictness makes sense for release/CI paths where a silent upload skip is a real footgun — but failing the local Debug inner loop on a missing org feels like the wrong default.
Are you willing to submit a PR?
Yes, if maintainers indicate which direction (a/b) is acceptable.
Activity
linear-code commentedon Jul 5, 2026
RN-700
antonis commentedon Jul 6, 2026
Thank you for reporting 🙇
We will investigate this and iterate back.
fix(ios): Skip source maps upload on Debug builds (#6405)
github-actions commentedon Jul 9, 2026
A PR closing this issue has just been released 🚀
This issue was referenced by PR #6405, which was included in the 8.18.0 release.