MantisBT - CMake
View Issue Details
0008252CMakeCMakepublic2008-12-07 14:462009-09-14 13:54
Baron L. Roberts 
 
normalminoralways
closedfixed 
CMake-2-6 
 
0008252: XCode generator does not write compatibilityVersion attribute to project file
The XCode generator in CMake 2.6.2 does not write the compatibilityVersion attribute to the generated project file. This causes XCode to use the default project file compatibility version which is 2.4. When the project file is saved, this attribute is written to the project file. When developing for the Mac this is a non-issue. However, when developing for the iPhone, the presence of the code signing step in the project file causes XCode to issue a warning about project file compatibility when viewing the project properties page. I believe this is relatively benign but it may have some deeper implications than just a warning message.

The attached patch to cmGlobalXCodeGenerator.cxx ensures that a compatibilityVersion attribute is written with a version number appropriate for the version of XCode installed on the system.
No tags attached.
txt compat-patch.txt (1,203) 2008-12-07 14:46
https://public.kitware.com/Bug/file/1903/compat-patch.txt
Issue History
2008-12-07 14:46Baron L. RobertsNew Issue
2008-12-07 14:46Baron L. RobertsFile Added: compat-patch.txt
2009-07-22 01:35Doug GregorNote Added: 0016928
2009-09-14 13:54Bill HoffmanStatusnew => closed
2009-09-14 13:54Bill HoffmanResolutionopen => fixed

Notes
(0016928)
Doug Gregor   
2009-07-22 01:35   
This was fixed in CMake CVS (and merged in for CMake 2.6.5) by the fix for 0009216, so this bug can be closed (although I can't close it myself).