From 490a1a000731e489d50f531a93ecd6246ea95c2e Mon Sep 17 00:00:00 2001 From: Greg Bolsinga Date: Mon, 4 Dec 2023 14:37:35 -0800 Subject: [PATCH 1/3] Use generic platforms in xcodebuild actions --- .github/workflows/main.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7ccefbf6..904abc52 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,5 +16,5 @@ jobs: run: sudo xcode-select -s "/Applications/Xcode_15.0.app" - name: Build / Test run: swift build -v - - name: Build (macos, ios) - run: xcodebuild -scheme Site -destination "platform=macOS" -destination "platform=iOS Simulator,name=iPhone 15" + - name: Build iOS / macOS + run: xcodebuild -verbose -scheme SiteApp -destination "generic/platform=iOS Simulator" -destination "generic/platform=macOS" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 397764c7..5cad4e94 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,5 +16,5 @@ jobs: run: sudo xcode-select -s "/Applications/Xcode_15.0.app" - name: Build / Test run: swift build -v - - name: Build (macos, ios) - run: xcodebuild -scheme Site -destination "platform=macOS" -destination "platform=iOS Simulator,name=iPhone 15" + - name: Build iOS / macOS + run: xcodebuild -verbose -scheme SiteApp -destination "generic/platform=iOS Simulator" -destination "generic/platform=macOS" From 9671d23fdbf32dfe7730034c2fe131bab3ab678f Mon Sep 17 00:00:00 2001 From: Greg Bolsinga Date: Mon, 4 Dec 2023 15:12:47 -0800 Subject: [PATCH 2/3] Fix scheme --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 904abc52..af3668c0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,4 +17,4 @@ jobs: - name: Build / Test run: swift build -v - name: Build iOS / macOS - run: xcodebuild -verbose -scheme SiteApp -destination "generic/platform=iOS Simulator" -destination "generic/platform=macOS" + run: xcodebuild -verbose -scheme Site -destination "generic/platform=iOS Simulator" -destination "generic/platform=macOS" From 5ba27027b43526eddd02da0d30d635be71c52abf Mon Sep 17 00:00:00 2001 From: Greg Bolsinga Date: Mon, 4 Dec 2023 15:13:23 -0800 Subject: [PATCH 3/3] Fix scheme --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5cad4e94..b9a3f508 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,4 +17,4 @@ jobs: - name: Build / Test run: swift build -v - name: Build iOS / macOS - run: xcodebuild -verbose -scheme SiteApp -destination "generic/platform=iOS Simulator" -destination "generic/platform=macOS" + run: xcodebuild -verbose -scheme Site -destination "generic/platform=iOS Simulator" -destination "generic/platform=macOS"