Skip to content

Commit

Permalink
fix: hermes xcode build scripts (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
okwasniewski committed Apr 30, 2024
1 parent 20d4153 commit a600bfb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@ function get_platform_copy_destination {
if [[ $1 == "macosx" ]]; then
echo "macosx"
return
elif [[ $1 == "xros" ]]; then
echo "xros"
return
elif [[ $1 == "xrsimulator" ]]; then
elif [[ $1 == "xrsimulator" || $1 == "xros" ]]; then
echo "xros"
return
fi
Expand All @@ -31,8 +28,10 @@ function get_deployment_target {
if [[ $1 == "macosx" ]]; then
echo ${MACOSX_DEPLOYMENT_TARGET}
return
elif [[ $1 == "xrsimulator" || $1 == "xros" ]]; then
echo ${XROS_DEPLOYMENT_TARGET}
return
fi

echo ${IPHONEOS_DEPLOYMENT_TARGET}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class AppDelegate: RCTAppDelegate {

override func bundleURL() -> URL? {
#if DEBUG
RCTBundleURLProvider.sharedSettings()?.jsBundleURL(forBundleRoot: "index")
RCTBundleURLProvider.sharedSettings().jsBundleURL(forBundleRoot: "index")
#else
Bundle.main.url(forResource: "main", withExtension: "jsbundle")
#endif
Expand Down

0 comments on commit a600bfb

Please sign in to comment.