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

后端 未结 2 636
余生分开走
余生分开走 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?

提交回复
热议问题