apache / apache/cordova-ios

Improve --target and --list

Open
#595 2 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
2.2k
Forks
1k
Avg merge
12h 11m
Merged PRs (30d)
18

Description

# Feature Request

## Motivation Behind Feature

`--target` and `--list` are currently one of the most iffy areas of cordova-ios. They use a unexpected format, that is also ambiguous which simulator really will be used.

## Feature Description

- Add a method that outputs the information about the simulator that will be used to emulate if not --target is specified
- Output device ID
- Allow targetting by device ID (Some times called "simulator hash")
- Allow targetting by both formats, `xcrun suimctl list` and `instruments -s devices`

## Alternatives or Workarounds
None

Contributor guide

Open the contributing guide

Research direction

Start at the CLI handling for --target and --list, then compare the existing target format with the simulator listings produced by xcrun simctl list and instruments -s devices. Define how the selected simulator is reported when --target is absent and verify that output includes its device ID. Done means both listing formats and device-ID targeting work without ambiguity.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, javascript
Domain
cli, mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.