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 {
16
16
if [[ $1 == " macosx" ]]; then
17
17
echo " macosx"
18
18
return
19
- elif [[ $1 == " xros" ]]; then
20
- echo " xros"
21
- return
22
- elif [[ $1 == " xrsimulator" ]]; then
19
+ elif [[ $1 == " xrsimulator" || $1 == " xros" ]]; then
23
20
echo " xros"
24
21
return
25
22
fi
@@ -31,8 +28,10 @@ function get_deployment_target {
31
28
if [[ $1 == " macosx" ]]; then
32
29
echo ${MACOSX_DEPLOYMENT_TARGET}
33
30
return
31
+ elif [[ $1 == " xrsimulator" || $1 == " xros" ]]; then
32
+ echo ${XROS_DEPLOYMENT_TARGET}
33
+ return
34
34
fi
35
-
36
35
echo ${IPHONEOS_DEPLOYMENT_TARGET}
37
36
}
38
37
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ class AppDelegate: RCTAppDelegate {
9
9
10
10
override func bundleURL( ) -> URL ? {
11
11
#if DEBUG
12
- RCTBundleURLProvider . sharedSettings ( ) ? . jsBundleURL ( forBundleRoot: " index " )
12
+ RCTBundleURLProvider . sharedSettings ( ) . jsBundleURL ( forBundleRoot: " index " )
13
13
#else
14
14
Bundle . main. url ( forResource: " main " , withExtension: " jsbundle " )
15
15
#endif
You can’t perform that action at this time.
0 commit comments