From 56eb2c698c4e43aa14929dd831d391c07fab2d80 Mon Sep 17 00:00:00 2001 From: Gray Zhang Date: Sun, 14 Sep 2025 10:23:43 +0800 Subject: [PATCH 1/2] fix: update CI pipelines to use Xcode 16.0 - Updated all GitHub Actions workflows to use Xcode 16.0 instead of 15.4 - Affected workflows: ios-build-test, code-quality, dependency-update, release - This resolves the CI build failures caused by invalid Xcode path --- .github/workflows/code-quality.yml | 2 +- .github/workflows/dependency-update.yml | 2 +- .github/workflows/ios-build-test.yml | 2 +- .github/workflows/release.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index a9a7ef8..a97a2c1 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -48,7 +48,7 @@ jobs: submodules: recursive - name: Select Xcode version - run: sudo xcode-select -s /Applications/Xcode_15.4.app/Contents/Developer + run: sudo xcode-select -s /Applications/Xcode_16.0.app/Contents/Developer - name: Install xcpretty run: gem install xcpretty diff --git a/.github/workflows/dependency-update.yml b/.github/workflows/dependency-update.yml index e7cc7b0..d61c428 100644 --- a/.github/workflows/dependency-update.yml +++ b/.github/workflows/dependency-update.yml @@ -18,7 +18,7 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} - name: Select Xcode version - run: sudo xcode-select -s /Applications/Xcode_15.4.app/Contents/Developer + run: sudo xcode-select -s /Applications/Xcode_16.0.app/Contents/Developer - name: Update Swift packages run: | diff --git a/.github/workflows/ios-build-test.yml b/.github/workflows/ios-build-test.yml index e8d158f..8529047 100644 --- a/.github/workflows/ios-build-test.yml +++ b/.github/workflows/ios-build-test.yml @@ -22,7 +22,7 @@ jobs: submodules: recursive - name: Select Xcode version - run: sudo xcode-select -s /Applications/Xcode_15.4.app/Contents/Developer + run: sudo xcode-select -s /Applications/Xcode_16.0.app/Contents/Developer - name: Show Xcode version run: xcodebuild -version diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b4ba55d..64c8095 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,7 +34,7 @@ jobs: fetch-depth: 0 - name: Select Xcode version - run: sudo xcode-select -s /Applications/Xcode_15.4.app/Contents/Developer + run: sudo xcode-select -s /Applications/Xcode_16.0.app/Contents/Developer - name: Setup Ruby uses: ruby/setup-ruby@v1 From c69be900de0fb43e33b32aefb44223a6366ceec9 Mon Sep 17 00:00:00 2001 From: Gray Zhang Date: Sun, 14 Sep 2025 10:28:49 +0800 Subject: [PATCH 2/2] fix: update simulator to iPhone 16 for Xcode 16.0 compatibility - Changed simulator from 'iPhone 15' to 'iPhone 16' in workflow files - Xcode 16.0 includes iPhone 16 simulators instead of iPhone 15 - Fixes build failures in ios-build-test and code-quality workflows --- .github/workflows/code-quality.yml | 2 +- .github/workflows/ios-build-test.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index a97a2c1..666266e 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -59,7 +59,7 @@ jobs: -project V2er.xcodeproj \ -scheme V2er \ -sdk iphonesimulator \ - -destination 'platform=iOS Simulator,name=iPhone 15' \ + -destination 'platform=iOS Simulator,name=iPhone 16' \ -enableCodeCoverage YES \ -derivedDataPath build/DerivedData \ CODE_SIGN_IDENTITY="" \ diff --git a/.github/workflows/ios-build-test.yml b/.github/workflows/ios-build-test.yml index 8529047..0b8251c 100644 --- a/.github/workflows/ios-build-test.yml +++ b/.github/workflows/ios-build-test.yml @@ -50,7 +50,7 @@ jobs: -project V2er.xcodeproj \ -scheme V2er \ -sdk iphonesimulator \ - -destination 'platform=iOS Simulator,name=iPhone 15' \ + -destination 'platform=iOS Simulator,name=iPhone 16' \ ONLY_ACTIVE_ARCH=YES \ CODE_SIGN_IDENTITY="" \ CODE_SIGNING_REQUIRED=NO | xcpretty --color @@ -61,7 +61,7 @@ jobs: -project V2er.xcodeproj \ -scheme V2er \ -sdk iphonesimulator \ - -destination 'platform=iOS Simulator,name=iPhone 15' \ + -destination 'platform=iOS Simulator,name=iPhone 16' \ ONLY_ACTIVE_ARCH=YES \ CODE_SIGN_IDENTITY="" \ CODE_SIGNING_REQUIRED=NO | xcpretty --color --test