开发者

Missing GCC 4.2 options in Project Info / Build tab in Xcode 3.2.5

开发者 https://www.devze.com 2023-02-02 11:10 出处:网络
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 开发者_JAVA技巧and Int

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 开发者_JAVA技巧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?


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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消