I've tried various methods and scripts to launch my iOS compiled app via commandline but unable to do so, help will be appreciated.
I tried the following:
This command line:
./Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone Simulator.app/Contents/MacOS/iPhone\ Simulator -SimulateApplication App.app/App
- This shell script
Attempted on:
- Simulator app v7.0
- iOS 6.1
- Mac OSX Mavericks
No luck :/
You could use ios-sim (can be installed via Homebrew brew install ios-sim
):
ios-sim launch <application path>
来源:https://stackoverflow.com/questions/21599419/unable-to-install-and-run-ios-app-on-simulator-from-command-line-simulator-of