Commit a10ddbf
committed
ci(codeql): use generic iOS Simulator destination for Swift analyze build
The Swift CodeQL analyze job runs on macos-15 with Xcode 16.4 and used
`-destination 'platform=iOS Simulator,name=iPhone 16'`. Recent runner
image revisions (e.g. macos-15-arm64 20260623.0190.1) ship without that
named simulator preinstalled, so xcodebuild only sees the placeholder
"Any iOS Simulator Device" destination and exits with code 70.
The build only needs to compile so the CodeQL Swift extractor can
observe it, no booted device is required. Switching to
`generic/platform=iOS Simulator` matches the always-available
placeholder destination, removes the dependency on which iPhone the
runner image happens to ship, and keeps the build green across future
image bumps.1 parent 17c961f commit a10ddbf
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
199 | | - | |
| 199 | + | |
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| |||
0 commit comments