From c831addc5237f2874df2468bf92ebf8ff9df1986 Mon Sep 17 00:00:00 2001 From: Cal Stephens Date: Thu, 29 Jun 2023 11:03:34 -0700 Subject: [PATCH] Manually specify deployment target, this seems to fix the problem in a clean checkout --- Rakefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Rakefile b/Rakefile index c0631351..59a15cdd 100644 --- a/Rakefile +++ b/Rakefile @@ -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'