[cmake-developers] [CMake 0015672]: XCode project broken since cmake 3.3.0

Mantis Bug Tracker mantis at public.kitware.com
Thu Jul 30 10:59:35 EDT 2015


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=15672 
====================================================================== 
Reported By:                A. Klitzing
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15672
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-07-30 10:59 EDT
Last Modified:              2015-07-30 10:59 EDT
====================================================================== 
Summary:                    XCode project broken since cmake 3.3.0
Description: 
We use cmake to build our application for iOS. If we try the same workflow with
cmake 3.3.0 we get this error:


$ cmakexbuild -target install
2015-07-30 16:41:03.453 xcodebuild[47660:18383918]
CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in
dictionary on line 1381. Parsing will be abandoned. Break on
_CFPropertyListMissingSemicolon to debug.
2015-07-30 16:41:03.458 xcodebuild[47660:18383918]
CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in
dictionary on line 1381. Parsing will be abandoned. Break on
_CFPropertyListMissingSemicolon to debug.
2015-07-30 16:41:03.459 xcodebuild[47660:18383918] The data couldn’t be read
because it isn’t in the correct format.
xcodebuild: error: Unable to read project 'XXX.xcodeproj'.
	Reason: Project /tmp/build/XXX.xcodeproj cannot be opened because the project
file cannot be parsed.




The same workflow works with cmake 3.0.x - 3.2.x!


Steps to Reproduce: 
1. cmake ../XXX/ -DCMAKE_PREFIX_PATH=/tmp/thirdparty
-DCMAKE_TOOLCHAIN_FILE=../XXX/cmake/iOS.toolchain.cmake -GXcode
2. cmakexbuild -target install


Toolchain file:
https://code.google.com/p/ios-cmake/source/browse/toolchain/iOS.cmake


Additional Information: 
Line 1380 - 1382 of project.pbxproj

1380 2525E3626D4B43E89F8019E3 /*
/tmp/XXX/resources/images/iOS/appIcons/icon29x29 at 2x.png */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = image; na     me =
"icon29x29 at 2x.png"; path = "resources/images/iOS/appIcons/icon29x29 at 2x.png";
sourceTree = SOURCE_ROOT; };

1381 254B9DCBBC4947269D39ACED /*
/tmp/XXX/resources/images/iOS/appIcons/icon29x29~ipad.png */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = image;      name =
icon29x29~ipad.png; path = resources/images/iOS/appIcons/icon29x29~ipad.png;
sourceTree = SOURCE_ROOT; };

1382 268D04D278914C12AE277A44 /*
/tmp/XXX/resources/images/iOS/appIcons/icon40x40 at 2x~ipad.png */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = imag     e; name =
"icon40x40 at 2x~ipad.png"; path =
"resources/images/iOS/appIcons/icon40x40 at 2x~ipad.png"; sourceTree = SOURCE_ROOT;
};

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-07-30 10:59 A. Klitzing    New Issue                                    
======================================================================



More information about the cmake-developers mailing list