你如何部署一个iPhone应用程序,以命令行模拟器?(How do you deploy an iP

2019-06-27 06:13发布

我使用xcodebuild联编在命令行编译一个iPhone应用程序的一些变化,但我已经无法弄清楚如何部署这些构建到iPhone模拟器的命令行。 可能有人请赐教? 谢谢。

Answer 1:

获取开源“iphonesim”,它会为你做它: http://github.com/jhaynie/iphonesim/

这是小和写在客观C,它似乎在命令行中正常工作。



Answer 2:

这是一个looong很久以前。 但是,如果有人有兴趣[Simulator_installation_path] / iPhone \模拟器-SimulateApplication [AppFolder_full_path] / [AppName的]。应用程序/ [AppName的]

我的模拟器路径是:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone \ Simulator.app/Contents/MacOS



Answer 3:

这样看来,使用-sdk iphonesimulator3.0标志与xcodebuild联编应该产生.sb文件,但这似乎并没有工作。 也许这是不可能的?



Answer 4:

本主题将告诉你如何做手工,你应该能以及自动执行的过程:

我可以安装应用程序模拟器没有源代码?



文章来源: How do you deploy an iPhone app to the simulator from the command line?