diff --git a/.github/workflows/cocoapods.yml b/.github/workflows/cocoapods.yml index 87ed26074..63c053307 100644 --- a/.github/workflows/cocoapods.yml +++ b/.github/workflows/cocoapods.yml @@ -32,6 +32,10 @@ jobs: extra_flags: ["", "--use-static-frameworks"] steps: - uses: actions/checkout@v4 + - name: Select Xcode Version + uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: 'latest-stable' - name: "iOS, macOS, tvOS, and visionOS" run: | pod lib lint --verbose ${{ matrix.extra_flags }} \ @@ -62,6 +66,10 @@ jobs: pod_configuration: ["Debug", "Release"] steps: - uses: actions/checkout@v4 + - name: Select Xcode Version + uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: 'latest-stable' - name: "macOS" run: | pod lib lint --verbose \ diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml index 402eb07f5..e4b786dca 100644 --- a/.github/workflows/examples.yml +++ b/.github/workflows/examples.yml @@ -38,6 +38,10 @@ jobs: SAMPLE: ["Calendar", "Drive", "YouTube", "Storage"] steps: - uses: actions/checkout@v4 + - name: Select Xcode Version + uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: 'latest-stable' - name: Build Debug run: | set -eu diff --git a/.github/workflows/service_generator.yml b/.github/workflows/service_generator.yml index 1f48bb4ac..f7465d933 100644 --- a/.github/workflows/service_generator.yml +++ b/.github/workflows/service_generator.yml @@ -36,6 +36,10 @@ jobs: CONFIGURATION: ["debug", "release"] steps: - uses: actions/checkout@v4 + - name: Select Xcode Version + uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: 'latest-stable' - name: Build ServiceGenerator run: | set -eu @@ -50,6 +54,10 @@ jobs: CONFIGURATION: ["Debug", "Release"] steps: - uses: actions/checkout@v4 + - name: Select Xcode Version + uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: 'latest-stable' - name: Build ServiceGenerator run: | set -eu diff --git a/.github/workflows/swiftpm.yml b/.github/workflows/swiftpm.yml index 1a7197203..ec988f95c 100644 --- a/.github/workflows/swiftpm.yml +++ b/.github/workflows/swiftpm.yml @@ -31,6 +31,10 @@ jobs: CONFIGURATION: ["debug", "release"] steps: - uses: actions/checkout@v4 + - name: Select Xcode Version + uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: 'latest-stable' - name: Build and Test Library run: | set -eu @@ -48,6 +52,10 @@ jobs: CONFIGURATION: ["Debug", "Release"] steps: - uses: actions/checkout@v4 + - name: Select Xcode Version + uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: 'latest-stable' - name: Build and Test Library run: | set -eu @@ -62,7 +70,9 @@ jobs: DESTINATION="platform=tvOS Simulator,name=Apple TV,OS=latest" ;; visionos) - DESTINATION="platform=visionOS Simulator,name=Apple Vision Pro,OS=latest" + # As of Aug 15, 2025, "latest" was failing as it matched both the + # beta and GM, use explict GM. + DESTINATION="platform=visionOS Simulator,name=Apple Vision Pro,OS=2.5" ;; watchos) DESTINATION="platform=WatchOS Simulator,name=Apple Watch Series 10 (46mm),OS=latest"