Skip to content

Commit 803dd86

Browse files
committed
Update CI simulator destination
1 parent cf76da1 commit 803dd86

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/ios.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
xcodebuild test \
2424
-project WeatherApp.xcodeproj \
2525
-scheme WeatherApp \
26-
-destination 'platform=iOS Simulator,name=iPhone 16' \
26+
-destination 'platform=iOS Simulator,name=iPhone 17 Pro' \
2727
-enableCodeCoverage YES \
2828
-resultBundlePath TestResults.xcresult
2929
@@ -32,7 +32,7 @@ jobs:
3232
xcodebuild analyze \
3333
-project WeatherApp.xcodeproj \
3434
-scheme WeatherApp \
35-
-destination 'platform=iOS Simulator,name=iPhone 16'
35+
-destination 'platform=iOS Simulator,name=iPhone 17 Pro'
3636
3737
- name: Export coverage report
3838
run: |

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -241,8 +241,8 @@ The OpenWeather key is currently stored on the client for testing.
241241
CLI examples:
242242

243243
```bash
244-
xcodebuild build -project WeatherApp.xcodeproj -scheme WeatherApp -destination 'platform=iOS Simulator,name=iPhone 16'
245-
xcodebuild test -project WeatherApp.xcodeproj -scheme WeatherApp -destination 'platform=iOS Simulator,name=iPhone 16'
244+
xcodebuild build -project WeatherApp.xcodeproj -scheme WeatherApp -destination 'platform=iOS Simulator,name=iPhone 17 Pro'
245+
xcodebuild test -project WeatherApp.xcodeproj -scheme WeatherApp -destination 'platform=iOS Simulator,name=iPhone 17 Pro'
246246
```
247247

248248
## Testing Strategy
@@ -265,7 +265,7 @@ The workflow currently runs a single job named `test-and-analyze` on `macos-late
265265

266266
- checks out the repository with `actions/checkout`
267267
- selects the latest stable Xcode with `maxim-lobanov/setup-xcode`
268-
- runs `xcodebuild test` against the `WeatherApp` scheme on the `iPhone 16` simulator
268+
- runs `xcodebuild test` against the `WeatherApp` scheme on the `iPhone 17 Pro` simulator
269269
- enables code coverage during test execution
270270
- writes the test result bundle to `TestResults.xcresult`
271271
- runs `xcodebuild analyze` for static analysis after tests

0 commit comments

Comments
 (0)