Skip to content

Commit

Permalink
Manually specify deployment target, this seems to fix the problem in …
Browse files Browse the repository at this point in the history
…a clean checkout
  • Loading branch information
calda committed Jun 29, 2023
1 parent 4a87339 commit c831add
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 @@ -7,8 +7,10 @@ namespace :build do
desc 'Builds the EpoxyCore package for iOS, macOS, and tvOS'
task :EpoxyCore do
xcodebuild 'build -scheme EpoxyCore -destination generic/platform=iOS'
xcodebuild 'build -scheme EpoxyCore -destination generic/platform=tvOS'
xcodebuild 'build -scheme EpoxyCore -destination generic/platform=macOS'
# Even though the deployment targets are configured in the .xcodeproj, xcodebuild doesn't respect that properly in CI for some reason.
# As a workaround we can specify it manually here.
xcodebuild 'build -scheme EpoxyCore -destination generic/platform=tvOS TVOS_DEPLOYMENT_TARGET=13.0'
xcodebuild 'build -scheme EpoxyCore -destination generic/platform=macOS MACOSX_DEPLOYMENT_TARGET=10.15'
end

desc 'Builds the EpoxyExample app'
Expand Down

0 comments on commit c831add

Please sign in to comment.