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
We have multiple targets in iOS in our React Native app. When I ran the sentry wizard it updated the Bundle React Native code and images section and added a new Run Script under Build Phases for Upload Debug Symbols to Sentry only for the first target.
If I created a Release build for other flavors they wouldn't show stack trace with readable code. It would be only minified.
I had to update /bin/sh -c "$WITH_ENVIRONMENT \"/bin/sh ../node_modules/@sentry/react-native/scripts/sentry-xcode.sh $REACT_NATIVE_XCODE\"" under Bundle React Native code and images section for each target.
And I also had to create a new Run Script under Build Phases for Upload Debug Symbols to Sentry only for each target with /bin/sh ../node_modules/@sentry/react-native/scripts/sentry-xcode-debug-files.sh
After I did this I could see the stack trace with readable code. Am I missing something?
So every time I add a new target will I have to do this manually? Please guide me if there is a way to automate this for all the targets.
The text was updated successfully, but these errors were encountered:
OS:
Platform:
SDK:
@sentry/react-native
(>= 1.0.0)react-native-sentry
(<= 0.43.2)SDK version: 5.14.1
react-native
version: 0.70.6Are 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:
Link to issue
Configuration:
(
@sentry/react-native
)We have multiple targets in iOS in our React Native app. When I ran the sentry wizard it updated the Bundle React Native code and images section and added a new Run Script under Build Phases for Upload Debug Symbols to Sentry only for the first target.
If I created a Release build for other flavors they wouldn't show stack trace with readable code. It would be only minified.
I had to update
/bin/sh -c "$WITH_ENVIRONMENT \"/bin/sh ../node_modules/@sentry/react-native/scripts/sentry-xcode.sh $REACT_NATIVE_XCODE\""
under Bundle React Native code and images section for each target.And I also had to create a new Run Script under Build Phases for Upload Debug Symbols to Sentry only for each target with
/bin/sh ../node_modules/@sentry/react-native/scripts/sentry-xcode-debug-files.sh
After I did this I could see the stack trace with readable code. Am I missing something?
So every time I add a new target will I have to do this manually? Please guide me if there is a way to automate this for all the targets.
The text was updated successfully, but these errors were encountered: