We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 697f828 commit 7b34542Copy full SHA for 7b34542
build.sh
@@ -957,10 +957,12 @@ case "$COMMAND" in
957
echo "Building with Xcode Version $(xcodebuild -version)"
958
export REALM_EXTRA_BUILD_ARGUMENTS='GCC_GENERATE_DEBUGGING_SYMBOLS=NO -allowProvisioningUpdates'
959
target="$2"
960
- if [[ "$target" == visionos ]] && (( $(xcode_version_major) < 16 )); then
961
- echo 'Installing visionOS'
962
- xcodebuild -downloadPlatform visionOS
963
- fi
+ case "$target" in
+ ios*) xcodebuild -downloadPlatform iOS ;;
+ tvos*) xcodebuild -downloadPlatform tvOS ;;
+ visionos*) xcodebuild -downloadPlatform visonOS ;;
964
+ watchos*) xcodebuild -downloadPlatform watchOS ;;
965
+ esac
966
sh build.sh "verify-$target"
967
;;
968
0 commit comments