iOS build failing on Github actions with "An organization slug is required"
See original GitHub issueEnvironment
How do you use Sentry? Sentry SaaS (sentry.io)
Which SDK and version?
macOS 11 Xcode 13 @sentry/react-native": “^3.1.1”, react-native": “0.66.1”,
Steps to Reproduce
- Clone the repo or create your own basic setup - repo
- Create a Github workflow - mine
- If the workflow runs I get an error of build failing
The build command is
xcodebuild -workspace ios/Sql_Playground.xcworkspace -scheme SQL_PlayGround -configuration Release -sdk iphonesimulator -derivedDataPath ios/build
Output
/bin/sh -c /Users/runner/work/SQL-Play/SQL-Play/ios/build/Build/Intermediates.noindex/SQL_PlayGround.build/Release-iphonesimulator/SQL_PlayGround.build/Script-00DD1BFF1BD5951E006B06BC.sh
error: An organization slug is required (provide with --org)
Add --log-level=[info|debug] or export SENTRY_LOG_LEVEL=[info|debug] to see more output.
Please attach the full debug log to all bug reports.
Expected Result
It should build the app as it is doing locally
Actual Result
The build keeps failing here is the full log file
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
An organization slug is required (provide with --org) error ...
I've installed the @sentry/react-native package and ran through the wizard which has updated my React Native project. When I try to compile the ......
Read more >Fails to upload with organization slug (An ... - GitHub
XCode files an error for the "Upload Debug Symbols to Sentry" build task. This is the error: error: An organization slug is required...
Read more >error: An organization slug is required (provide with --org) #60
Hi, trying to upload sourcemap to sentry, but catch this error: ERROR in Sentry CLI Plugin: Command failed: ...
Read more >An organization slug is required (provide with --org) · Issue ...
The problem occurs when i get build on my local. my folder name -> .sentryclirc. ` defaults.url=xxx defaults.org=xxx defaults.project=xxx auth.
Read more >org_slug is not used for sentry_set_commits #106 - GitHub
Environment When trying to use sentry_set_commits I get the error error: An organization slug is required (provide with --org) even though I ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Okay thanks for all the info the build worked after putting the env on top of the config
@marandaneto one last question. How you guys are loading the auth token when building locally ?