Skip to content

Commit 247efbf

Browse files
committed
fix: hermes xcode build scripts (#133)
1 parent 896e7d3 commit 247efbf

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

packages/react-native/sdks/hermes-engine/utils/build-hermes-xcode.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ function get_deployment_target {
3131
elif [[ $1 == "xrsimulator" || $1 == "xros" ]]; then
3232
echo "${XROS_DEPLOYMENT_TARGET}"
3333
return
34+
elif [[ $1 == "xrsimulator" || $1 == "xros" ]]; then
35+
echo ${XROS_DEPLOYMENT_TARGET}
36+
return
3437
fi
3538

3639
echo "${IPHONEOS_DEPLOYMENT_TARGET}"

packages/react-native/template/visionos/HelloWorld/AppDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class AppDelegate: RCTAppDelegate {
99

1010
override func bundleURL() -> URL? {
1111
#if DEBUG
12-
RCTBundleURLProvider.sharedSettings()?.jsBundleURL(forBundleRoot: "index")
12+
RCTBundleURLProvider.sharedSettings().jsBundleURL(forBundleRoot: "index")
1313
#else
1414
Bundle.main.url(forResource: "main", withExtension: "jsbundle")
1515
#endif

0 commit comments

Comments
 (0)