Skip to content

Commit

Permalink
Download visionOS SDK if necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
calda committed Sep 5, 2023
1 parent 491ac18 commit c743ce2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,9 @@ def ifVisionOSEnabled
if ENV["SKIP_VISION_OS"] == "true"
puts "Skipping visionOS build"
else
# As of 9/5/23 the GitHub Actions runner doesn't include the visionOS SDK by default,
# so we have to download it manually.
sh "xcodebuild -downloadPlatform visionOS"
yield
end
end

0 comments on commit c743ce2

Please sign in to comment.