xcrun simctl documentation

Greetings all,


I am having trouble understanding the syntax of the simctl subcommand as there doesn't seem to be any man page for simctl and no documentation on any Apple page or elsewhere.


Usage: simctl [--noxpc] [--set <set path>] <subcommand> ... | help [subcommand]
Command line utility to control the iOS Simulator


What does --noxpc and more importantly, "--set <set path>" do?


Please clarify what setting path will do with an example if possible.


Cheers,


-Patrick

Replies

--noxpc will cause the command line utility to do everything in-process rather than using CoreSimulatorService to manage the simulator state. Unless you know very specifically that you need this, you don't want to use it.


'--set <set path>' will let you choose a path other than ~/Library/Developer/CoreSimulator/Devices as the set of devices that you want to manage.

Great, but what about having xcrun simctl documented?