|
10 | 10 | device_model: |
11 | 11 | description: "iOS Simulator device model" |
12 | 12 | required: false |
13 | | - default: "iPhone 16 Pro" |
| 13 | + default: "iPhone 17 Pro" |
14 | 14 | type: string |
15 | 15 | ios_version: |
16 | 16 | description: "iOS version" |
17 | 17 | required: false |
18 | | - default: "18.6" |
| 18 | + default: "26.2" |
19 | 19 | type: string |
20 | 20 | xcode_version: |
21 | 21 | description: "Xcode version" |
22 | 22 | required: false |
23 | | - default: "16.4.0" |
| 23 | + default: "26.2.0" |
24 | 24 | type: string |
25 | 25 | push: |
26 | 26 | branches: |
|
63 | 63 |
|
64 | 64 | env: |
65 | 65 | # Device configuration - can be overridden by workflow_dispatch inputs |
66 | | - DEVICE_MODEL: ${{ github.event.inputs.device_model || 'iPhone 16 Pro' }} |
67 | | - IOS_VERSION: ${{ github.event.inputs.ios_version || '18.6' }} |
68 | | - XCODE_VERSION: ${{ github.event.inputs.xcode_version || '16.4.0' }} |
| 66 | + DEVICE_MODEL: ${{ github.event.inputs.device_model || 'iPhone 17 Pro' }} |
| 67 | + IOS_VERSION: ${{ github.event.inputs.ios_version || '26.2' }} |
| 68 | + XCODE_VERSION: ${{ github.event.inputs.xcode_version || '26.2.0' }} |
69 | 69 | USE_CCACHE: 1 |
70 | | - DEVELOPER_DIR: /Applications/Xcode_${{ github.event.inputs.xcode_version || '16.4.0' }}.app/Contents/Developer |
| 70 | + DEVELOPER_DIR: /Applications/Xcode_${{ github.event.inputs.xcode_version || '26.2.0' }}.app/Contents/Developer |
71 | 71 |
|
72 | 72 | jobs: |
73 | 73 | harness_ios_new: |
74 | 74 | name: Harness iOS (new architecture) |
75 | | - runs-on: macOS-latest |
| 75 | + runs-on: macOS-26 |
76 | 76 | steps: |
77 | 77 | - uses: actions/checkout@v6 |
78 | 78 | with: |
@@ -110,16 +110,18 @@ jobs: |
110 | 110 |
|
111 | 111 | - name: Build iOS app |
112 | 112 | working-directory: example/ios |
113 | | - run: "set -o pipefail && xcodebuild \ |
114 | | - CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ \ |
115 | | - -derivedDataPath build -UseModernBuildSystem=YES \ |
116 | | - -workspace NitroExample.xcworkspace \ |
117 | | - -scheme NitroExample \ |
118 | | - -sdk iphonesimulator \ |
119 | | - -configuration Debug \ |
120 | | - -destination 'platform=iOS Simulator,name=${{ env.DEVICE_MODEL }}' \ |
121 | | - build \ |
122 | | - CODE_SIGNING_ALLOWED=NO" |
| 113 | + run: | |
| 114 | + set -o pipefail |
| 115 | + xcodebuild \ |
| 116 | + CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ \ |
| 117 | + -derivedDataPath build -UseModernBuildSystem=YES \ |
| 118 | + -workspace NitroExample.xcworkspace \ |
| 119 | + -scheme NitroExample \ |
| 120 | + -sdk iphonesimulator \ |
| 121 | + -configuration Debug \ |
| 122 | + -destination 'platform=iOS Simulator,name=${{ env.DEVICE_MODEL }}' \ |
| 123 | + build \ |
| 124 | + CODE_SIGNING_ALLOWED=NO | xcbeautify |
123 | 125 |
|
124 | 126 | - name: Setup iOS Simulator |
125 | 127 | uses: futureware-tech/simulator-action@v4 |
|
0 commit comments