Xcode 3.2.5 的“项目信息/构建”选项卡中缺少 GCC 4.2 选项
我有两个非常相似的 iPhone 应用程序项目并排打开,在其中一个项目的“项目信息构建”选项卡中,我在其中一个项目中有一堆 GCC 4.2 选项部分(在版本控制和 Interface Builder XIB 编译器 - 选项之间),但是不是另一个。
我已经检查了我能找到的所有设置,以确保它们匹配并选择了正确的 Base SDK,但我无法弄清楚为什么这不会在一个项目中显示,而在另一个项目中不会显示。
有人对检查什么有什么建议吗?
I have two very similar iPhone application projects open side by side, and in the Project Info Build tab of one, I have a bunch of GCC 4.2 option sections (in between Versioning and Interface Builder XIB Compiler - Options) in one of the projects but not the other.
I have checked all of the settings that I can find to make sure that they match up and that the correct Base SDK is selected, but I cannot figure out why this would not be showing in one project and not the other.
Anyone have any suggestions on what to check for?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在文本编辑器中比较 pbxproj 文件。不记得错误到底是什么,但它发生在我身上一次,我能够通过与已知良好的版本进行比较来修复项目文件。
Diff the pbxproj files in a text editor. Can't remember what the mistake was exactly but it happened to me once and I was able to fix the project file by diffing with a known-good version.
这不太正确。这不是由于 CODE_SIGN_IDENTITY 造成的。
将源添加到“Groups & Files”->Target->“YourTargetName”->Compile Sources 后,会出现 GCC 4.2 选项。
规则很简单:
如果“Target”还没有源,则没有 GCC 4.2 选项。
This is not quite right. It is not due to CODE_SIGN_IDENTITY.
GCC 4.2 options appears after adding sources to "Groups & Files"->Target->"YourTargetName"->Compile Sources.
The rule is simple:
If "Target" has no sources yet, there is no GCC 4.2 options.