Commit a23a0ef
chore(ci): Dynamically select available iPhone simulator for tests (#5577)
* chore(ci): Fix flaky iOS native tests by removing OS=latest
The OS=latest parameter in xcodebuild destination is unreliable on GitHub's
macos-15 runners due to frequent simulator runtime deprecations. By omitting
the OS version, xcodebuild automatically selects any available iPhone 16
simulator, making the tests more stable across runner image updates.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* chore(ci): Dynamically select available iPhone simulator for tests
Instead of hardcoding device name and OS version, dynamically find the first
available iPhone simulator using xcrun simctl. This prevents failures when
specific device/OS combinations aren't available on CI runners.
Also adds a debug step to list available simulators for troubleshooting.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* chore(ci): Select iPhone simulator from latest iOS runtime
Improves device selection to explicitly choose from the latest available
iOS runtime, preventing tests from running on older iOS versions.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent d9f44bb commit a23a0ef
1 file changed
+21
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
52 | 55 | | |
53 | 56 | | |
54 | 57 | | |
55 | 58 | | |
56 | 59 | | |
57 | | - | |
58 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
59 | 78 | | |
60 | 79 | | |
61 | 80 | | |
62 | | - | |
| 81 | + | |
63 | 82 | | |
64 | 83 | | |
65 | 84 | | |
| |||
0 commit comments