objective-c 你如何显示 Xcode 的构建日志?(尝试验证是否正确创建了 iPhone 发行版构建 zip。)
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1488931/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How do you show Xcode's build log? (Trying to verify if iPhone distribution build zip was created correctly.)
提问by zekel
I'm trying to zip up my iPhone application for App Store distribution.
我正在尝试压缩我的 iPhone 应用程序以进行 App Store 分发。
The distribution instructions suggest looking in the build log to check if the mobileprovision file was included, but I can't figure out how to show a build log.
分发说明建议查看构建日志以检查是否包含 mobileprovision 文件,但我不知道如何显示构建日志。
Apple's instructions:
To confirm your build was successful, check for the following:
Open the Build Log detail view and confirm the presence of the "embedded.mobileprovision” file. This will take you to the line in the build log that shows the provisioning profile was successfully called.
苹果的说明:
要确认您的构建成功,请检查以下内容:
打开构建日志详细信息视图并确认“embedded.mobileprovision”文件的存在。这将带您到构建日志中显示已成功调用配置文件的行。
采纳答案by SRI








i have highlighted what you need to change. select "All messages" instead of "Issues Only" and the follow the screenshots below.
我已经强调了您需要更改的内容。选择“所有消息”而不是“仅问题”,然后按照下面的屏幕截图进行操作。
回答by Jim Hollender
When you have the Build Results window showing, right-click on any item and select "Open These Latest Results as Transcript Text File".
当您显示“构建结果”窗口时,右键单击任何项目并选择“将这些最新结果作为成绩单文本文件打开”。
回答by Stephen Canon
Command-Shift-B to show the Build Results window. Click on a specific item in the results window to see the command line that actually executed.
Command-Shift-B 显示“构建结果”窗口。单击结果窗口中的特定项目以查看实际执行的命令行。
回答by peterk
In IOS sdk 4+ in order to see the actual full log output it seems you have to go
在 IOS sdk 4+ 中,为了查看实际的完整日志输出,您似乎必须去
Navigators->log
导航器->日志
(pops up log navigator)
(弹出日志导航器)
select the log in question (double click it)
选择有问题的登录(双击它)
then control click on the list of "messages" and select "expand all transcripts" from the context menu
然后控制单击“消息”列表并从上下文菜单中选择“展开所有成绩单”
回答by user151019
At the bottom left of the build window (the one that gives the summary of the build) there are 4 icons.
在构建窗口的左下角(给出构建摘要的那个)有 4 个图标。
- A tick
- Yellow triange
- a few lines
- Downward triangle
- 打勾
- 黄色三角
- 几行
- 下三角
The first 3 toggle information. The third is the one you want it will open a full build log.
前3个切换信息。第三个是你想要的,它会打开一个完整的构建日志。
回答by user151019
Check out the build results window.(the one that shows up with errors and whatnot) At the bottom of the window it should list all the commands that it used to build the app. You might also need to modify the project settings and the build settings to get what you want. Plus make sure you are building using the right build configuration (that gets me sometimes ).
查看构建结果窗口。(显示错误和诸如此类的)在窗口底部,它应该列出用于构建应用程序的所有命令。您可能还需要修改项目设置和构建设置以获得所需的内容。另外请确保您正在使用正确的构建配置进行构建(有时这会让我感到困惑)。

