orchetect/Xcode Simulator Setup
Dynamically find the best available Xcode device simulator.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| refresh | Refresh Xcode simulators by first calling the simulator controller to refresh by listing all local simulators. This can help reduce the number of spurious issues that can occur periodically when listing and using simulators. | no | true |
| download | Asks the simulator controller to first download a relevant simulator for the platform specified by the target parameter. This can help reduce the number of spurious issues that can occur periodically when listing and using simulators. | no | false |
| workspace-path | Relative path to the Xcode workspace. If the target is a Swift Package that exists in the root of the repository, omit this parameter. | no | — |
| scheme | Xcode scheme name that will be used when enumerating available device simulators. | yes | — |
| target | Platform (iOS, tvOS, watchOS, visionOS) device (iphone, ipad, watch, appletv, visionpro). See README for more options. | yes | — |
| os-version | Platform OS version regular expression. (Optional) | no | — |
Outputs
| name | description |
|---|---|
| id | Destination Simulator ID |
| platform | Destination Platform |
| platform-short | Platform (Short) |
| workspace-path | Xcode workspace path relative to repo root |