Skip to content

Commit 4616f62

Browse files
committed
fix: release build bundle
1 parent ec248df commit 4616f62

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/react-native/scripts/react-native-xcode.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ fi
144144
--entry-file "$ENTRY_FILE" \
145145
--platform "$BUNDLE_PLATFORM" \
146146
--dev $DEV \
147+
--resolver-options "platformExtension=visionos" \
147148
--reset-cache \
148149
--bundle-output "$BUNDLE_FILE" \
149150
--assets-dest "$DEST" \

packages/react-native/template/visionos/HelloWorld.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@
263263
);
264264
runOnlyForDeploymentPostprocessing = 0;
265265
shellPath = /bin/sh;
266-
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 $REACT_NATIVE_XCODE\"\n";
266+
shellScript = "set -e\n\nWITH_ENVIRONMENT=\"../node_modules/@callstack/react-native-visionos/scripts/xcode/with-environment.sh\"\nREACT_NATIVE_XCODE=\"../node_modules/@callstack/react-native-visionos/scripts/react-native-xcode.sh\"\n\n/bin/sh -c \"$WITH_ENVIRONMENT $REACT_NATIVE_XCODE\"\n";
267267
};
268268
00EEFC60759A1932668264C0 /* [CP] Embed Pods Frameworks */ = {
269269
isa = PBXShellScriptBuildPhase;

0 commit comments

Comments
 (0)