简体   繁体   English

如何从xcode显示xcodebuild命令行?

[英]How to show the xcodebuild command line from xcode?

I'm trying to build a working simulator build from xcodebuild. 我正在尝试从xcodebuild构建可运行的模拟器。 Compilation works but the final product won't run on the simulator when installed via WaxSim. 编译有效,但通过WaxSim安装后,最终产品将无法在模拟器上运行。 If I build through the Xcode GUI then the final product installs without issue from WaxSim. 如果我通过Xcode GUI进行构建,那么最终产品的安装将不会出现WaxSim的问题。

My question is, how can I see the exact xcodebuild command line that xcode is using to build a working simulator build. 我的问题是,我如何才能看到xcode用于构建有效的模拟器版本的确切 xcodebuild命令行。 I just need to copy that into my shell script but it's proving elusive. 我只需要将其复制到我的shell脚本中,但是事实证明它是难以捉摸的。 I did a find in the build logs from xcode but there's no mention of xcodebuild there. 我在xcode的构建日志中找到了一个,但是那里没有提到xcodebuild。

You can't. 你不能 Xcode itself doesn't invoke xcodebuild during the build process. Xcode本身在构建过程中不会调用xcodebuild This post has more information on executing xcodebuild to build for the simulator. 这篇文章有更多关于执行xcodebuild来为模拟器构建的信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 xcode 8 xcodebuild从命令行为多个配置文件进行手动代码签名 - xcode 8 xcodebuild manual code signing from command line for multiple provision profiles iphone:来自终端的xcodebuild命令不起作用,怎么办? - iphone : xcodebuild command from terminal not working, How to? 从命令行运行xcodebuild时,如何写入iPhone SDK中的当前目录? - How can I write to the current directory in the iPhone SDK when running xcodebuild from the command line? 从命令行构建iPhone应用程序,不使用xcodebuild - Building an iPhone application from the command line, without xcodebuild 使用xcodebuild命令行将应用程序放在iPhone上 - using xcodebuild command line to put an app on the iPhone 如何在命令行上从Xcode项目获取应用程序路径名? - How to get the app path name from an Xcode project on the command line? 如何从命令行运行Xcode构建的应用程序(bash) - How to run an Xcode built app from the command line (bash) 使用xcodebuild命令从Cordova项目创建IPA - Create IPA from a Cordova project with xcodebuild command 无法从命令行构建XCode项目,但可以从XCode构建 - Cannot build XCode project from command line but can from XCode 通过命令行将IPA推送到设备(在xcodebuild之后)? - Push IPA to Device via Command Line (after xcodebuild)?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM