XCode 4 迁移问题
这里没有为每个问题创建单独的问题,而是列出了我似乎无法弄清楚的 XCode 4 相关内容。我已阅读迁移指南和 XCode 4 用户手册。
如何在 XCode 4 中查看构建日志?
如何构建并运行我的产品的发布版本?我不想将其存档或提交到 iTunes,也不想放弃构建/运行调试版本的能力。创建新方案是我唯一的选择吗?
如何使用命令行和不同的“方案”进行构建?以前,我使用过 xcodebuild -project foo.xcodeproj -target TargetName -configuration Release|Debug。 XCode 4 的等效项是什么?如果每种模式有多个方案(请参阅上一个项目符号),它如何工作?
只有我这样,还是每个人在开始使用 XCode 4 时都觉得很蠢?
Instead of creating separate questions for each, here's a list of XCode 4 related stuff that I just can't seem to figure out. I've read the migration guide and the XCode 4 user manual.
How can I view the build log in XCode 4?
How can I build a run a Release version of my product? I don't want to archive it or submit it to iTunes, and I don't want to give up the ability to build/run the Debug version. Is creating a new scheme my only option?
How do I build using the command line and the different 'schemes'? Previously, I used
xcodebuild -project foo.xcodeproj -target TargetName -configuration Release|Debug
. What's the XCode 4 equivalent? How does it work if I have multiple schemes for each mode (see prev bullet)?Is it just me, or did everyone feel pretty stupid when they started using XCode 4?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
包含文件层次结构的左侧窗格称为导航器窗格。选项卡栏上最右侧的选项卡是日志导航器。你会在那里找到他们。如果您想查看原始文本,请选择全部、复制并粘贴到 TextEdit(或您选择的编辑器)中。
设置一个根据发布配置构建的新方案。
xcodebuild -h
是你的朋友。一般来说,xcodebuild 的工作方式就像在 Xcode 3 中一样。是的。然后我习惯了它,接受了它,并意识到使用 Xcode 4 的效率比使用 Xcode 3 的效率高出大约 8.27 倍。
The left hand pane that contains the file hierarchy is called the Navigator Pane. The right most tab on the tab bar is the log navigator. You'll find 'em there. If you want to see the raw text, select all, copy, and paste into TextEdit (or your editor of choice).
Set up a new scheme that builds against the Release configuration.
xcodebuild -h
is your friend. Generally, xcodebuild works just like it did in Xcode 3.Yes. Then I got used to it, embraced it, and realized I'm about 8.27x more efficient with Xcode 4 than 3.