From b8de3ffc3ea8f64bab1b6af52e9477b5cab0ef17 Mon Sep 17 00:00:00 2001 From: Kevin McKee Date: Mon, 23 Jun 2025 08:09:51 -0700 Subject: [PATCH 1/2] Adding watchOS build target if tagged with watchOS. --- .github/workflows/xcodebuild.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/xcodebuild.yml b/.github/workflows/xcodebuild.yml index 015abab..2f00096 100644 --- a/.github/workflows/xcodebuild.yml +++ b/.github/workflows/xcodebuild.yml @@ -40,3 +40,6 @@ jobs: - name: Build tvOS if: ${{ contains(github.event.pull_request.labels.*.name, 'tvOS') }} run: xcodebuild -scheme OAuthSample -configuration Debug CODE_SIGNING_ALLOWED=NO -destination "generic/platform=tvOS" + - name: Build watchOS + if: ${{ contains(github.event.pull_request.labels.*.name, 'watchOS') }} + run: xcodebuild -scheme OAuthSample -configuration Debug CODE_SIGNING_ALLOWED=NO -destination "generic/platform=watchOS" From eb7ac23c9cbc8706aecec5150f48adeff7c061c3 Mon Sep 17 00:00:00 2001 From: Kevin McKee Date: Mon, 23 Jun 2025 08:20:58 -0700 Subject: [PATCH 2/2] Fixing the scheme --- .github/workflows/xcodebuild.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/xcodebuild.yml b/.github/workflows/xcodebuild.yml index 2f00096..cbe81f3 100644 --- a/.github/workflows/xcodebuild.yml +++ b/.github/workflows/xcodebuild.yml @@ -42,4 +42,4 @@ jobs: run: xcodebuild -scheme OAuthSample -configuration Debug CODE_SIGNING_ALLOWED=NO -destination "generic/platform=tvOS" - name: Build watchOS if: ${{ contains(github.event.pull_request.labels.*.name, 'watchOS') }} - run: xcodebuild -scheme OAuthSample -configuration Debug CODE_SIGNING_ALLOWED=NO -destination "generic/platform=watchOS" + run: xcodebuild -scheme OAuthSampleWatch -configuration Debug CODE_SIGNING_ALLOWED=NO -destination "generic/platform=watchOS"