-
-
Notifications
You must be signed in to change notification settings - Fork 338
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
Auto Sourcemap upload script on Xcode fails unless --force_foreground is present #1424
Comments
What does
|
Hi @jennmueng, I tried to put |
Hi, probably same issue. I created an issue in sentry-cli repository. getsentry/sentry-cli#932 |
Actually, that log looks familiar to something I've seen before. @nicomontanari Can you try passing Also @emirsavran too. |
Hi, actually |
Hi, i'm sorry for my absence. Everything works with |
This issue has gone three weeks without activity. In another week, I will close it. But! If you comment or otherwise update it, I will reset the clock, and if you label it "A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀 |
@jennmueng I see it in our docs https://docs.sentry.io/platforms/react-native/troubleshooting/#ios-build-script-failed but should we rather fix it on CLI or RN SDK? |
@marandaneto I think this is a fix that needs to be done on the CLI |
@jennmueng should we always invoke the CLI with |
apparently this was an issue with sentry-cli and it should be solved by using the latest sentry-cli https://github.com/getsentry/sentry-cli/releases/tag/1.71.0 |
Using 1.71.1 according to the 'yarn list' output, and the problem still persists. |
thanks, gonna check with the CLI team getsentry/sentry-cli#932 (comment) |
@kamilogorek is checking this out. |
Should be fixed once #2016 is release. |
Environment
How do you use Sentry?
Sentry SaaS (sentry.io)
Which SDK and version?
React Native 2.3.0
Description
At the end of the compilation procedure on Android the source maps are uploaded correctly, but with iOS the files are not uploaded on sentry and no errors are shown
Build Phases
Bundle React Native code and images code
export SENTRY_PROPERTIES=sentry.properties
export EXTRA_PACKAGER_ARGS="--sourcemap-output $DERIVED_FILE_DIR/main.jsbundle.map"
export NODE_BINARY=node
yarn buildTsCode
export ENTRY_FILE="artifacts/index.js"
../node_modules/@sentry/cli/bin/sentry-cli react-native xcode ../node_modules/react-native/scripts/react-native-xcode.sh
Upload Debug Symbols to Sentry
export SENTRY_PROPERTIES=sentry.properties
../node_modules/@sentry/cli/bin/sentry-cli upload-dsym
The text was updated successfully, but these errors were encountered: