ci: use xcode-select verify instead of sudo
Some checks failed
Build Apple (macOS + iOS) / build-ios (push) Failing after 2m4s
Build Apple (macOS + iOS) / build-macos (push) Failing after 5m53s

This commit is contained in:
2026-04-23 13:58:45 +08:00
parent 53cbd9847b
commit 089d7d21bf

View File

@@ -18,10 +18,8 @@ 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: Verify Xcode
run: xcodebuild -version
- name: Install Flutter
run: |
if [ ! -d "$HOME/flutter" ]; then
@@ -46,10 +44,8 @@ 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: Verify Xcode
run: xcodebuild -version
- name: Install Flutter
run: |
if [ ! -d "$HOME/flutter" ]; then