Terminal command to build and install the iPhone app in simulator without launching from Xcode

后端 未结 2 627
余生分开走
余生分开走 2020-12-31 17:07

Is there any terminal command that can be used to achieve this?

I know xcodebuild install -configuration can compile our xcodeproj from terminal without

相关标签:
2条回答
  • 2020-12-31 17:35

    Hey, i found out that you can do it with:

    xcodebuild -configuration Release -sdk iphonesimulator2.2
    

    This makes a simulator build with version 2.2 ( you can use xcodebuild -showsdks to list what u have avail ). I'm stuck with a problem of trying to get it to launch on the phone. xcodebuild -install doesn't seem to do anything for me :S Any assistance?

    0 讨论(0)
  • 2020-12-31 17:37

    Please see the following github project (search for iphonesim)

    This will allow you to launch the iphone simulator from the command line.

    (Sorry, it won't seem to let me post a valid URL in this answer)

    0 讨论(0)
提交回复
热议问题