Skip to content

Commit b087b6f

Browse files
committed
RN: Update the "Bundle React Native code and images" script to fix the issue with escape patterns in Xcode
1 parent e9d3272 commit b087b6f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/platforms/react-native/manual-setup/manual-setup.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,17 +60,18 @@ To this:
6060
set -e
6161

6262
WITH_ENVIRONMENT="../node_modules/react-native/scripts/xcode/with-environment.sh"
63-
REACT_NATIVE_XCODE="../node_modules/react-native/scripts/react-native-xcode.sh"
6463
SENTRY_XCODE="../node_modules/@sentry/react-native/scripts/sentry-xcode.sh"
6564

6665
# RN 0.81.1+
67-
/bin/sh -c "$WITH_ENVIRONMENT /bin/sh $SENTRY_XCODE $REACT_NATIVE_XCODE"
66+
/bin/sh -c "$WITH_ENVIRONMENT $SENTRY_XCODE"
6867

6968
# RN 0.69 - 0.80.0
69+
# REACT_NATIVE_XCODE="../node_modules/react-native/scripts/react-native-xcode.sh"
7070
# BUNDLE_REACT_NATIVE="/bin/sh $SENTRY_XCODE $REACT_NATIVE_XCODE"
7171
# /bin/sh -c "$WITH_ENVIRONMENT \"$BUNDLE_REACT_NATIVE\""
7272

7373
# RN 0.46 – 0.68
74+
# REACT_NATIVE_XCODE="../node_modules/react-native/scripts/react-native-xcode.sh"
7475
# BUNDLE_REACT_NATIVE="/bin/sh $SENTRY_XCODE $REACT_NATIVE_XCODE"
7576
# /bin/sh -c "$BUNDLE_REACT_NATIVE"
7677
```

0 commit comments

Comments
 (0)