diff --git a/packages/react-native/scripts/react-native-xcode.sh b/packages/react-native/scripts/react-native-xcode.sh index d6c382bcea1849..8e1aad0378e773 100755 --- a/packages/react-native/scripts/react-native-xcode.sh +++ b/packages/react-native/scripts/react-native-xcode.sh @@ -144,6 +144,7 @@ fi --entry-file "$ENTRY_FILE" \ --platform "$BUNDLE_PLATFORM" \ --dev $DEV \ + --resolver-option "platformExtension=visionos" \ --reset-cache \ --bundle-output "$BUNDLE_FILE" \ --assets-dest "$DEST" \