Skip to content

Commit 207fc52

Browse files
committed
Try another solution for the xcode and ios version problem
1 parent fb92e33 commit 207fc52

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/build-apple.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ jobs:
1818
# This seems to be related to https://github.com/actions/runner-images/issues/12758
1919
- name: Xcode setup
2020
run: |
21-
sudo xcodebuild -license accept
22-
sudo xcode-select --install
23-
sudo xcodebuild -downloadPlatform iOS
21+
sudo xcode-select --switch /Applications/Xcode_16.4.app
2422
2523
- name: Common flutter setup
2624
uses: ./.github/actions/flutter-common
@@ -51,9 +49,7 @@ jobs:
5149
# This seems to be related to https://github.com/actions/runner-images/issues/12758
5250
- name: Xcode setup
5351
run: |
54-
sudo xcodebuild -license accept
55-
sudo xcode-select --install
56-
sudo xcodebuild -downloadPlatform iOS
52+
sudo xcode-select --switch /Applications/Xcode_16.4.app
5753
5854
- name: Build .xcarchive
5955
run: |

0 commit comments

Comments
 (0)