Unable to launch app with simctl without Simulator open
| Originator: | mars.martian | ||
| Number: | rdar://19535182 | Date Originated: | 20-Jan-2015 |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | |
| Classification: | Reproducible: | Always |
Summary: If iOS Simulator.app is not open and then: I wipe a simulator, install an app and then try launching it from simctl, it does not start ever. Steps to Reproduce: issue the following commands in your Terminal: killall "iOS Simulator" DEVICE_UUID="B6EF565C-C3B1-4449-8EC6-C9FECD10D90A" APP=<Path to some .app> APP_ID=<app identifier> xcrun simctl shutdown $DEVICE_UUID xcrun simctl erase $DEVICE_UUID xcrun simctl boot $DEVICE_UUID xcrun simctl install $DEVICE_UUID $APP xcrun simctl launch $DEVICE_UUID $APP_ID Expected Results: simctl should return with the process id of the app being run. Actual Results: simctl hangs and nothing happens. Notes: It seems the only way to get this to work is the have the Simulator app open, though the api should tell you this.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!