-
Notifications
You must be signed in to change notification settings - Fork 102
Description
Im opening this here because i tracked an issue with react-native-version
down to the shell script added by instabug buildphase ([CP-User] [instabug-reactnative] Upload Sourcemap
).
Im not familiar with shell scripts so I can't exactly pin the error and maybe someone here can help/fix it.
Something is wrong with an escape character.
If I remove the instabug shell script from project.pbxproj the versioning succeeds .
As a workaround I put the content into an external file and link it in build phases
Was working withinstabug-reactnative: 10.13.0
Steps to Reproduce the Problem
- create new project:
npx react-native init example
- add
"instabug-reactnative": "^11.0.2"
via npm/yarn - run
pod install
- run
npx react-native-version --target android,ios --generate-build
Expected Behavior
Updated versions in all iOS (&android files
Actual Behavior
[RNV] Versioning Android...
[RNV] Android updated
[RNV] Versioning iOS...
[RNV]SyntaxError: Expected "\"", "\\'", "\\\"", "\\n", or [^\\"] but "\\" found
.
SDK Version
11
React Native, iOS and Android Versions
11.0.2