Skip to content

Conversation

@jpsim
Copy link

@jpsim jpsim commented Jul 11, 2025

Fixes flaky failures with the error: IllegalArgumentError: ... supported simulator os versions are [].

This appears to be a race condition where an early call to simctl returns an empty list of runtimes. Subsequent calls succeed.

This change makes the GetSupportedSimOsVersions function more robust by retrying the call up to 5 times with a 1-second delay between each attempt.

Fixes flaky failures with the error:
`IllegalArgumentError: ... supported simulator os versions are [].`

This appears to be a race condition where an early call to `simctl`
returns an empty list of runtimes. Subsequent calls succeed.

This change makes the `GetSupportedSimOsVersions` function more
robust by retrying the call up to 5 times with a 1-second delay
between each attempt.
@keith
Copy link
Contributor

keith commented Nov 20, 2025

cc @me11kiy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants