mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
fix: Hermes build for visionOS simulator (Release) (#45911)
Summary: Building for the visionOS simulator in the Release scheme requires an x86_64 slice to be included.  ## Changelog: [IOS] [FIXED] - Include x86_64 slice when building for visionOS simulator Pull Request resolved: https://github.com/facebook/react-native/pull/45911 Test Plan: CI Green Reviewed By: GijsWeterings Differential Revision: D60828872 Pulled By: cipolleschi fbshipit-source-id: 74444ac0b6661baf427837d242ba0ca295da0d16
This commit is contained in:
committed by
Facebook GitHub Bot
parent
c17da4e811
commit
05dec917f2
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user