Unable to install and run iOS app on Simulator from command line - Simulator of iOS 6.1 Xcode 5 on mavericks

邮差的信 提交于 2019-12-06 02:46:07

问题


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:

  1. This command line:

    ./Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone Simulator.app/Contents/MacOS/iPhone\ Simulator -SimulateApplication App.app/App
    
  2. This shell script

Attempted on:

  • Simulator app v7.0
  • iOS 6.1
  • Mac OSX Mavericks

No luck :/


回答1:


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!