|
35 | 35 | run: bundle install |
36 | 36 | - name: Select Xcode Version |
37 | 37 | run: sudo xcode-select --switch /Applications/Xcode_16.4.app/Contents/Developer |
| 38 | + - name: Download iOS |
| 39 | + if: matrix.platforms == 'iOS_18' |
| 40 | + run: | |
| 41 | + sudo xcodebuild -runFirstLaunch |
| 42 | + sudo xcrun simctl list |
| 43 | + sudo xcodebuild -downloadPlatform iOS -buildVersion 22E238 |
| 44 | + - name: Download tvOS |
| 45 | + if: matrix.platforms == 'tvOS_18' |
| 46 | + run: | |
| 47 | + sudo xcodebuild -runFirstLaunch |
| 48 | + sudo xcrun simctl list |
| 49 | + sudo xcodebuild -downloadPlatform tvOS -buildVersion 22K154 |
| 50 | + - name: Download watchOS |
| 51 | + if: matrix.platforms == 'watchOS_11' |
| 52 | + run: | |
| 53 | + sudo xcodebuild -runFirstLaunch |
| 54 | + sudo xcrun simctl list |
| 55 | + sudo xcodebuild -downloadPlatform watchOS -buildVersion 22S99 |
38 | 56 | - name: Build and Test Framework |
39 | 57 | run: Scripts/build.swift ${{ matrix.platforms }} xcode |
40 | 58 | - name: Upload Coverage Reports |
@@ -94,6 +112,24 @@ jobs: |
94 | 112 | run: bundle install |
95 | 113 | - name: Select Xcode Version |
96 | 114 | run: sudo xcode-select --switch /Applications/Xcode_16.4.app/Contents/Developer |
| 115 | + - name: Download iOS |
| 116 | + if: matrix.platforms == 'iOS_18' |
| 117 | + run: | |
| 118 | + sudo xcodebuild -runFirstLaunch |
| 119 | + sudo xcrun simctl list |
| 120 | + sudo xcodebuild -downloadPlatform iOS -buildVersion 22E238 |
| 121 | + - name: Download tvOS |
| 122 | + if: matrix.platforms == 'tvOS_18' |
| 123 | + run: | |
| 124 | + sudo xcodebuild -runFirstLaunch |
| 125 | + sudo xcrun simctl list |
| 126 | + sudo xcodebuild -downloadPlatform tvOS -buildVersion 22K154 |
| 127 | + - name: Download watchOS |
| 128 | + if: matrix.platforms == 'watchOS_11' |
| 129 | + run: | |
| 130 | + sudo xcodebuild -runFirstLaunch |
| 131 | + sudo xcrun simctl list |
| 132 | + sudo xcodebuild -downloadPlatform watchOS -buildVersion 22S99 |
97 | 133 | - name: Build Framework |
98 | 134 | run: Scripts/build.swift ${{ matrix.platforms }} spm |
99 | 135 | readme-validation: |
|
0 commit comments