Launch iPhone Simulator via the command line

I can run the iPhone simulator from the command line with the following command:

/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone Simulator.app/Contents/MacOS/iPhone Simulator -SimulateApplication /TestBuild/testApp.app

The simulator starts, but shuts down with the message that "the simulated application is shutting down"

Does anyone know how to solve this problem? Please help Thanks in advance.

+4
source share

Source: https://habr.com/ru/post/1469494/


All Articles