Also, you cannot delete a device that is in use by the simulator, so you will have to quit/kill the simulator before attempting to delete anything.
You need to launch the device in the simulator to actually do anything interesting. Open Xcode and click on the Xcode tab -> Open Developer Tool -> Simulator How to launch Android Emulator from Terminal To see the the Android SDK location run this command. Note that booting a device using simctl does not currently (Xcode 7.2) allow you to do anything else with that device such as launch or install applications. Now you should be able to use simctl to install and launch commands. FD9F726E-453A-4A4C-9460-A6C332AB140B) you want (you can create your own device using xcrun simctl create if you want).īoot the simulator with that device (replacing YOUR-DEVICE-ID with the ID) /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/MacOS/Simulator -CurrentDeviceUDID This will give you a list of devices: - iOS 9.0.
First decide what device you want to use: xcrun simctl list