diff --git a/.github/actions/setup-xcode/action.yml b/.github/actions/setup-xcode/action.yml index 85223692bc8f..51e1508a870c 100644 --- a/.github/actions/setup-xcode/action.yml +++ b/.github/actions/setup-xcode/action.yml @@ -4,7 +4,7 @@ inputs: xcode-version: description: 'The xcode version to use' required: false - default: '16.4.0' + default: '27.2.0' runs: using: 'composite' steps: diff --git a/.github/workflows/bump-podfile-lock.yml b/.github/workflows/bump-podfile-lock.yml index 9e5c42764430..504632a903be 100644 --- a/.github/workflows/bump-podfile-lock.yml +++ b/.github/workflows/bump-podfile-lock.yml @@ -5,7 +5,7 @@ on: jobs: bump-podfile-lock: - runs-on: macos-15 + runs-on: xcode-27 steps: - name: Checkout uses: actions/checkout@v6 diff --git a/.github/workflows/prebuild-ios-core.yml b/.github/workflows/prebuild-ios-core.yml index c2457074768c..9d567edb708d 100644 --- a/.github/workflows/prebuild-ios-core.yml +++ b/.github/workflows/prebuild-ios-core.yml @@ -52,8 +52,6 @@ jobs: - name: Setup xcode if: steps.restore-ios-slice.outputs.cache-hit != 'true' uses: ./.github/actions/setup-xcode - with: - xcode-version: 27.2.0 - name: Yarn Install if: steps.restore-ios-slice.outputs.cache-hit != 'true' uses: ./.github/actions/yarn-install @@ -163,8 +161,6 @@ jobs: - name: Setup xcode if: steps.restore-ios-xcframework.outputs.cache-hit != 'true' uses: ./.github/actions/setup-xcode - with: - xcode-version: 27.2.0 - name: Yarn Install if: steps.restore-ios-xcframework.outputs.cache-hit != 'true' uses: ./.github/actions/yarn-install diff --git a/.github/workflows/prebuild-ios-dependencies.yml b/.github/workflows/prebuild-ios-dependencies.yml index d73455ee8d31..db2bf73ce65c 100644 --- a/.github/workflows/prebuild-ios-dependencies.yml +++ b/.github/workflows/prebuild-ios-dependencies.yml @@ -6,7 +6,7 @@ on: jobs: prepare_workspace: name: Prepare workspace - runs-on: macos-15 + runs-on: xcode-27 steps: - name: Checkout uses: actions/checkout@v6 @@ -45,7 +45,7 @@ jobs: build-apple-slices: name: Build Apple Slice - runs-on: macos-15 + runs-on: xcode-27 needs: [prepare_workspace] strategy: fail-fast: false @@ -110,7 +110,7 @@ jobs: create-xcframework: name: Prepare XCFramework - runs-on: macos-15 + runs-on: xcode-27 needs: [build-apple-slices] strategy: fail-fast: false diff --git a/.github/workflows/test-all.yml b/.github/workflows/test-all.yml index bf1772dfb93b..00275a24ac32 100644 --- a/.github/workflows/test-all.yml +++ b/.github/workflows/test-all.yml @@ -91,7 +91,7 @@ jobs: needs: [prebuild_apple_dependencies] test_ios_rntester: - runs-on: macos-15-large + runs-on: xcode-27 needs: [prebuild_apple_dependencies, prebuild_react_native_core] if: ${{ needs.prebuild_react_native_core.result == 'success' }} strategy: @@ -108,7 +108,7 @@ jobs: # The CocoaPods opt-out stays supported, so CI keeps one CocoaPods build per test app. test_ios_rntester_cocoapods: - runs-on: macos-15-large + runs-on: xcode-27 needs: [prebuild_apple_dependencies, prebuild_react_native_core] if: ${{ needs.prebuild_react_native_core.result == 'success' }} steps: @@ -469,7 +469,7 @@ jobs: compression-level: 0 test_ios_helloworld: - runs-on: macos-15 + runs-on: xcode-27 needs: [prebuild_apple_dependencies, prebuild_react_native_core] if: ${{ needs.prebuild_react_native_core.result == 'success' }} strategy: @@ -487,7 +487,7 @@ jobs: # The CocoaPods opt-out stays supported, so CI keeps one CocoaPods build per test app. test_ios_helloworld_cocoapods: - runs-on: macos-15 + runs-on: xcode-27 needs: [prebuild_apple_dependencies, prebuild_react_native_core] if: ${{ needs.prebuild_react_native_core.result == 'success' }} env: diff --git a/.github/workflows/test-ios-spm-newapp.yml b/.github/workflows/test-ios-spm-newapp.yml index b21f653f199a..1ca5f6f4a11c 100644 --- a/.github/workflows/test-ios-spm-newapp.yml +++ b/.github/workflows/test-ios-spm-newapp.yml @@ -8,7 +8,7 @@ on: jobs: test: - runs-on: macos-15-large + runs-on: xcode-27 strategy: fail-fast: false matrix: