[eas-cli] Add simulator profiles command - #4323
Draft
krystofwoldrich-agent wants to merge 1 commit into
Draft
Conversation
Co-authored-by: Krystof Woldrich <31292499+krystofwoldrich@users.noreply.github.com> Co-authored-by: Codex <codex@openai.com>
krystofwoldrich-agent
force-pushed
the
codex/simulator-profiles
branch
from
August 31, 2026 21:27
940d819 to
30b73cf
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
EAS Simulator accepts Android device profile identifiers, but users currently have to guess which profiles are available on the runner. Add a discoverable command for both human workflows and scripts/agents.
How
eas simulator:profileswith the shortereas sim:profilesalias.--platform android|iosand support optional--jsonoutput.defaultandgoogle_apisimages from API 30 through API 36 (the available APIs are 30, 32, 34, 35, and 36).pixel_9in green and label it(default)in human-readable output.errorfield in JSON mode.Usage
Human-readable output
For iOS:
JSON output
{ "devices": [ "pixel_6", "pixel_6_pro", "pixel_6a", "pixel_7", "pixel_7_pro", "pixel_7a", "pixel_8", "pixel_8_pro", "pixel_8a", "pixel_9", "pixel_9_pro", "pixel_9_pro_xl", "pixel_9a" ], "images": [ "system-images;android-30;default;x86_64", "system-images;android-30;google_apis;x86_64", "system-images;android-32;default;x86_64", "system-images;android-32;google_apis;x86_64", "system-images;android-34;default;x86_64", "system-images;android-34;google_apis;x86_64", "system-images;android-35;default;x86_64", "system-images;android-35;google_apis;x86_64", "system-images;android-36;default;x86_64", "system-images;android-36;google_apis;x86_64" ] }For iOS:
{ "error": "No simulator profiles are available for iOS yet." }Test Plan
mise exec -- yarn workspace eas-cli test src/commands/simulator/__tests__/profiles.test.ts --runInBandmise exec -- yarn workspace eas-cli typecheckmise exec -- yarn workspace eas-cli buildmise exec -- yarn lintmise exec -- yarn fmt:check