diff --git a/packages/react-native/sdks/hermes-engine/utils/build-ios-framework.sh b/packages/react-native/sdks/hermes-engine/utils/build-ios-framework.sh index 225cb55b02c79e..7be2b4c06c13a7 100755 --- a/packages/react-native/sdks/hermes-engine/utils/build-ios-framework.sh +++ b/packages/react-native/sdks/hermes-engine/utils/build-ios-framework.sh @@ -12,9 +12,9 @@ set -e # Given a specific target, retrieve the right architecture for it # $1 the target you want to build. Allowed values: iphoneos, iphonesimulator, catalyst, xros, xrsimulator function get_architecture { - if [[ $1 == "iphoneos" || $1 == "xros" || $1 == "xrsimulator" ]]; then + if [[ $1 == "iphoneos" || $1 == "xros" ]]; then echo "arm64" - elif [[ $1 == "iphonesimulator" ]]; then + elif [[ $1 == "iphonesimulator" || $1 == "xrsimulator" ]]; then echo "x86_64;arm64" elif [[ $1 == "catalyst" ]]; then echo "x86_64;arm64"