问题
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