Skip to content

Commit

Permalink
Try xcodebuild directly
Browse files Browse the repository at this point in the history
  • Loading branch information
calda committed Jan 20, 2024
1 parent 0a477fc commit 58f43ba
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ namespace :build do
desc 'Builds the Lottie package for supported platforms'
namespace :package do
desc 'Builds the Lottie package for all supported platforms'
task all: ['iOS', 'macOS', 'tvOS', 'visionOS']
# Test just building for visionOS
task all: ['visionOS']
#task all: ['iOS', 'macOS', 'tvOS', 'visionOS']

desc 'Builds the Lottie package for iOS'
task :iOS do
Expand Down Expand Up @@ -261,7 +263,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
Expand Down

0 comments on commit 58f43ba

Please sign in to comment.