diff --git a/Rakefile b/Rakefile index 4a593a46ab..ac980e73bb 100644 --- a/Rakefile +++ b/Rakefile @@ -261,7 +261,7 @@ def ifVisionOSEnabled sh 'defaults write com.apple.CoreSimulator AllowUnsupportedVisionOSHost -bool YES' # Download visionOS SDK if necessary - xcodebuild("-downloadPlatform visionOS") + sh 'xcodebuild -downloadPlatform visionOS' yield end