Skip to content

Commit

Permalink
[CI] bump xcode to v15.2 in CI (#1679)
Browse files Browse the repository at this point in the history
* [CI] bump xcode to v15.2 in CI as this is the app store release requirement

* [CI] update IOS simulator runtimes
  • Loading branch information
clangenb authored Jun 3, 2024
1 parent 9a507ce commit 57b194e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ios_integration_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- name: prepare xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: "14.3"
xcode-version: "15.2"

- name: "Prepare environment for ios"
working-directory: ./scripts
Expand All @@ -66,15 +66,15 @@ jobs:
if: ${{ matrix.device == 'iPad Pro (12.9-inch) (2nd generation)' }}
# Unfortunately it is not deterministic if the 16.2 or the 16.4 runtime is available
run: |
xcrun simctl create "iPad Pro (12.9-inch) (2nd generation)" "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch---2nd-generation-" "com.apple.CoreSimulator.SimRuntime.iOS-16-4" || \
xcrun simctl create "iPad Pro (12.9-inch) (2nd generation)" "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch---2nd-generation-" "com.apple.CoreSimulator.SimRuntime.iOS-16-2"
xcrun simctl create "iPad Pro (12.9-inch) (2nd generation)" "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch---2nd-generation-" "com.apple.CoreSimulator.SimRuntime.iOS-17-2" || \
xcrun simctl create "iPad Pro (12.9-inch) (2nd generation)" "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch---2nd-generation-" "com.apple.CoreSimulator.SimRuntime.iOS-17-0"
- name: "Create Simulator if iPad 8 Plus"
if: ${{ matrix.device == 'iPhone 8 Plus' }}
# Unfortunately it is not deterministic if the 16.2 or the 16.4 runtime is available
run: |
xcrun simctl create "iPhone 8 Plus" "com.apple.CoreSimulator.SimDeviceType.iPhone-8-Plus" "com.apple.CoreSimulator.SimRuntime.iOS-16-4" || \
xcrun simctl create "iPhone 8 Plus" "com.apple.CoreSimulator.SimDeviceType.iPhone-8-Plus" "com.apple.CoreSimulator.SimRuntime.iOS-16-2"
xcrun simctl create "iPhone 8 Plus" "com.apple.CoreSimulator.SimDeviceType.iPhone-8-Plus" "com.apple.CoreSimulator.SimRuntime.iOS-17-2" || \
xcrun simctl create "iPhone 8 Plus" "com.apple.CoreSimulator.SimDeviceType.iPhone-8-Plus" "com.apple.CoreSimulator.SimRuntime.iOS-17-0"
- name: Get dependencies (i.e., melos)
run: .flutter/bin/dart pub get
Expand Down

0 comments on commit 57b194e

Please sign in to comment.