Skip to content

Commit a22f9a6

Browse files
committed
fix(ci): fix iOS build due to old iPhone
1 parent ddb9b25 commit a22f9a6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ios-ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ jobs:
3535
working-directory: example/ios
3636

3737
- name: Build iOS test app
38-
run: xcodebuild -workspace Example.xcworkspace -scheme Example -destination "platform=iOS Simulator,name=iPhone 14" CODE_SIGNING_ALLOWED=NO COMPILER_INDEX_STORE_ENABLE=NO build
38+
run: |
39+
xcodebuild -downloadPlatform iOS
40+
xcodebuild -workspace Example.xcworkspace -scheme Example -sdk iphoneos CODE_SIGNING_ALLOWED=NO COMPILER_INDEX_STORE_ENABLE=NO build
3941
working-directory: example/ios
4042

4143
timeout-minutes: 60

0 commit comments

Comments
 (0)