From 2b024a8fda0273836a43e3953dce588045ca9895 Mon Sep 17 00:00:00 2001 From: Andrew Heard Date: Mon, 15 Sep 2025 13:04:38 -0400 Subject: [PATCH] [Firebase AI] Add macOS / Xcode 26 CI testing --- .github/workflows/firebaseai.yml | 4 ++++ scripts/build.sh | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/firebaseai.yml b/.github/workflows/firebaseai.yml index ba5eb2be2d7..21cdfb83540 100644 --- a/.github/workflows/firebaseai.yml +++ b/.github/workflows/firebaseai.yml @@ -40,6 +40,8 @@ jobs: include: - os: macos-15 xcode: Xcode_16.4 + - os: macos-26 + xcode: Xcode_26.0 runs-on: ${{ matrix.os }} needs: spm env: @@ -87,6 +89,8 @@ jobs: include: - os: macos-15 xcode: Xcode_16.4 + - os: macos-26 + xcode: Xcode_26.0 runs-on: ${{ matrix.os }} env: BRANCH_NAME: ${{ github.head_ref || github.ref_name || 'main' }} diff --git a/scripts/build.sh b/scripts/build.sh index 2be500a8bbc..b50583167c9 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -158,9 +158,13 @@ if [[ "$xcode_major" -lt 16 && "$method" != "cmake" ]]; then echo "Unsupported Xcode major version being used: $xcode_major" exit 1 else + iphone_simulator_name="iPhone 16" + if [[ "$xcode_major" -gt 16 ]]; then + iphone_simulator_name="iPhone 16e" + fi ios_flags=( -sdk 'iphonesimulator' - -destination 'platform=iOS Simulator,name=iPhone 16' + -destination "platform=iOS Simulator,name=${iphone_simulator_name}" ) watchos_flags=( -sdk 'watchsimulator'