Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 733
BP. Avatar asked Dec 06 '25 19:12

BP.


2 Answers

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.

like image 53
Ortwin Gentz Avatar answered Dec 08 '25 11:12

Ortwin Gentz


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.

like image 29
Slamor Avatar answered Dec 08 '25 09:12

Slamor



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!