File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
template/visionos/HelloWorld Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -16,10 +16,7 @@ function get_platform_copy_destination {
1616 if [[ $1 == " macosx" ]]; then
1717 echo " macosx"
1818 return
19- elif [[ $1 == " xros" ]]; then
20- echo " xros"
21- return
22- elif [[ $1 == " xrsimulator" ]]; then
19+ elif [[ $1 == " xrsimulator" || $1 == " xros" ]]; then
2320 echo " xros"
2421 return
2522 fi
@@ -31,8 +28,10 @@ function get_deployment_target {
3128 if [[ $1 == " macosx" ]]; then
3229 echo ${MACOSX_DEPLOYMENT_TARGET}
3330 return
31+ elif [[ $1 == " xrsimulator" || $1 == " xros" ]]; then
32+ echo ${XROS_DEPLOYMENT_TARGET}
33+ return
3434 fi
35-
3635 echo ${IPHONEOS_DEPLOYMENT_TARGET}
3736}
3837
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments