no source maps are generated
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: 4.6.1
react-native version: 0.70.0
Are you using Expo?
- [ ] Yes
- [x] No
Are you using sentry.io or on-premise?
- [x] sentry.io (SaaS)
- [ ] on-premise
If you are using sentry.io, please post a link to your issue so we can take a look:
Configuration:
(@sentry/react-native)
Sentry.init({
dsn: 'https://9ee0bfad88264a66ac854e8a7af071e3@o4503931044233216.ingest.sentry.io/4503931679473664',
// Set tracesSampleRate to 1.0 to capture 100% of transactions for performance monitoring.
// We recommend adjusting this value in production.
tracesSampleRate: 1.0,
environment: __DEV__ ? 'development' : 'production',
});
or
I have following issue:
[Description]
Source maps are not getting uploaded. I tried this. It solved the problem with file not found in xCode, but source maps are still missing.
app:///index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example
Actual result: No source map
Expected result: Source maps are present and it's shown where error happens in TypeScript file
~~I suffered iOS source map missing problem too after bump RN 0.67.4 -> 0.70.1~~
Did you try run npx @sentry/wizard -i reactNative -p ios?
I fixed with this docs
@davoam please provide a minimal reproducible example, by doing this everything should work for RN >= 0.69.x Unless your environment has a different setup than normal. Also share your SDK init code snippet.
~I suffered iOS source map missing problem too after bump RN
0.67.4->0.70.1~Did you try run
npx @sentry/wizard -i reactNative -p ios?I fixed with this docs
yeah, I ran the wizard, but it didn't help
@davoam please provide a minimal reproducible example, by doing this everything should work for RN >= 0.69.x Unless your environment has a different setup than normal. Also share your SDK init code snippet.
Could you please clarify what is meant by SDK init code? If it Sentry.init call, I've added it in the issue description
@davoam Thank you for the SDK init code in the description. Could you provide a reproducible example, a link to a repo/zip file with an app sample where the source maps are not being uploaded?
1. Sure `projectRoot/ios/sentry.properties exists like the following.

2. Check Xcode build phase script exists and runs as expect

@mym0404 yeah, did these steps. Thanks, but unfortunately still. No success.
@krystofwoldrich I think I'll wait for version 5 of sentry-react-native, because it is still look not good that in order Sentry to work, a developer has to change something in node_modules directory manually like it's described here
@davoam provide a minimal reproducible example on GH and we can take a look, I am pretty sure it's something with your environment, we have this running locally and on CI with integration tests, and its working.
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 Status: Backlog or Status: In Progress, I will leave it alone ... forever!
"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀
Closing the issue as a part of large repository cleanup, due to it being inactive and/or outdated. Please do not hesitate to ping me if it is still relevant, and I will happily reopen and work on it. Cheers!