-
-
Notifications
You must be signed in to change notification settings - Fork 337
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
iOS Sourcemap Not Working using sentry-cli or sentry-fastlane #1024
Comments
@garrett-gottlieb You should have a dialog at the top of your error on the Sentry dashboard that says something along the lines of "Source Map not found" correct? So as I see it currently your bundle and source map is called Also as a note just in case, the Let me know if this works for you! |
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 🥀 |
@garrett-gottlieb any update on this? release and dist should match, also the file name as mentioned |
OS:
Platform:
SDK:
@sentry/react-native
(>= 1.0.0)react-native-sentry
(<= 0.43.2)SDK version: 1.3.7
react-native
version: 0.61.4Are you using Expo?
Are you using sentry.io or on-premise?
If you are using sentry.io, please post a link to your issue so we can take a look:
https://sentry.io/organizations/think-smart-journal/issues/1839835685/?project=5178279&statsPeriod=14d
Configuration:
(
@sentry/react-native
)I have following issue:
The sourcemap and source are uploaded via sentry-cli and are listed under the artifacts of the release, but the issue still says "app:///main.jsbundle in onPress at line 2019:2751"
Steps to reproduce:
react-native bundle --dev false --platform ios --entry-file index.js --bundle-output ios/ios.main.bundle --sourcemap-output ios/ios.main.bundle.map
cd ios && MARKETING_VERSION=$(xcodebuild -showBuildSettings | grep MARKETING_VERSION | tr -d 'MARKETING_VERSION =') && BUILD_VERSION=$(xcodebuild -showBuildSettings | grep CURRENT_PROJECT_VERSION | tr -d 'CURRENT_PROJECT_VERSION =') && env SENTRY_ORG=think-smart-journal SENTRY_LOG_LEVEL=info SENTRY_PROJECT=react-native yarn sentry-cli releases files com.thinksmartjournal-$MARKETING_VERSION upload-sourcemaps --dist $BUILD_VERSION --bundle ios/ios.main.bundle --bundle-sourcemap ios/ios.main.bundle.map
Sentry.captureException('Test error!')
I have also tried uploading via fastlane:
Actual result:
app:///main.jsbundle in onPress at line 2019:2751
Expected result:
Source map to
.ts
file.The text was updated successfully, but these errors were encountered: