From 53cbd9847b8b0424b5aa282ffd3912e26f7bb195 Mon Sep 17 00:00:00 2001 From: xiaohei Date: Thu, 23 Apr 2026 12:55:05 +0800 Subject: [PATCH] ci: add xcode-select step for Xcode 14.2 --- .github/workflows/apple-build.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/apple-build.yml b/.github/workflows/apple-build.yml index 35ffbf5..febfa8e 100644 --- a/.github/workflows/apple-build.yml +++ b/.github/workflows/apple-build.yml @@ -18,6 +18,10 @@ jobs: - name: Checkout run: | git clone --depth 1 --branch main http://192.168.120.110:4000/AI_Team/habo.git . + - name: Setup Xcode + run: | + sudo xcode-select -s /Applications/Xcode.app/Contents/Developer + xcodebuild -version - name: Install Flutter run: | if [ ! -d "$HOME/flutter" ]; then @@ -42,6 +46,10 @@ jobs: - name: Checkout run: | git clone --depth 1 --branch main http://192.168.120.110:4000/AI_Team/habo.git . + - name: Setup Xcode + run: | + sudo xcode-select -s /Applications/Xcode.app/Contents/Developer + xcodebuild -version - name: Install Flutter run: | if [ ! -d "$HOME/flutter" ]; then