Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for creating device with a specific architecture #40

Open
lone-necromancer opened this issue Sep 18, 2023 · 1 comment
Open

Comments

@lone-necromancer
Copy link

Hi, I'm happily using this CLI and i noticed at a recent Xcode upgrade that some of my project needed to run on simulators which run with architecture of arch x86_64.

It would be really nice if "create_device" function had another param called "arch" or something of the sort.

Thanks for the help in advance

@plu
Copy link
Owner

plu commented Sep 19, 2023

Hi,

I don't see how this is possible:

➜  ~ xcrun simctl create
Create a new device.
Usage: simctl create <name> <device type id> [<runtime id>]

	<device type id>    A valid available device type. Find these by running "xcrun simctl list devicetypes".
	                    Examples: ("iPhone X", "com.apple.CoreSimulator.SimDeviceType.iPhone-X")
	<runtime id>        A valid and available runtime. Find these by running "xcrun simctl list runtimes".
	                    If no runtime is specified the newest runtime compatible with the device type is chosen.
	                    Examples: ("watchOS3", "watchOS3.2", "watchOS 3.2", "com.apple.CoreSimulator.SimRuntime.watchOS-3-2",
	                               "/Volumes/path/to/Runtimes/watchOS 3.2.simruntime")

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

No branches or pull requests

2 participants