Open eedeebee opened 5 months ago
Thinking this might be a workaround ?
shellScript = "set -e\n\nWITH_ENVIRONMENT=\"../node_modules/react-native/scripts/xcode/with-environment.sh\"\nREACT_NATIVE_XCODE=\"../node_modules/react-native/scripts/react-native-xcode.sh\"\n\n/bin/sh -c \"$WITH_ENVIRONMENT '/bin/sh ../node_modules/@sentry/react-native/scripts/sentry-xcode.sh $REACT_NATIVE_XCODE'\"\n";
Hi @eedeebee,
thank you for the message, the core of the issue is in the react-native-version parser which can't handle test = "\""
escaped quotation.
The workaround is as you mentioned to use '
.
set -e
WITH_ENVIRONMENT="../node_modules/react-native/scripts/xcode/with-environment.sh"
REACT_NATIVE_XCODE="../node_modules/react-native/scripts/react-native-xcode.sh"
/bin/sh -c "$WITH_ENVIRONMENT '/bin/sh ../node_modules/@sentry/react-native/scripts/sentry-xcode.sh $REACT_NATIVE_XCODE'"
OS:
Platform:
SDK:
@sentry/react-native
(>= 1.0.0)react-native-sentry
(<= 0.43.2)SDK version: 0.0.0
react-native
version: 0.0.0Are you using Expo?
Are you using sentry.io or on-premise?
I have the following issue:
The sentry install wizard updated my project.pbxproj file and made it unparseable by react-native-version
Previous bits
New (and unparse-able bits) result:
Error from react-nativer-version