How to show the xcodebuild command line from xcode?

社会主义新天地 提交于 2021-02-07 12:07:38

问题


I'm trying to build a working simulator build from xcodebuild. Compilation works but the final product won't run on the simulator when installed via WaxSim. If I build through the Xcode GUI then the final product installs without issue from WaxSim.

My question is, how can I see the exact xcodebuild command line that xcode is using to build a working simulator build. I just need to copy that into my shell script but it's proving elusive. I did a find in the build logs from xcode but there's no mention of xcodebuild there.


回答1:


You can't. Xcode itself doesn't invoke xcodebuild during the build process. This post has more information on executing xcodebuild to build for the simulator.



来源:https://stackoverflow.com/questions/14574591/how-to-show-the-xcodebuild-command-line-from-xcode

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