[CMake] building Xcode project on OS X

Sean McBride sean at rogue-research.com
Mon Jan 22 10:19:24 EST 2007


On 2007-01-21 12:30, Blair Cruz said:

>I can generate the Xcode project find with CMake however when I run
>xcodebuild on the generated file I get the following error:
>
>------------------
>2007-01-21 12:25:23.358 xcodebuild[9899] CFLog (0):
>CFPropertyListCreateFromXMLData(): Old-style plist parser: missing
>semicolon in dictionary.
>2007-01-21 12:25:23.393 xcodebuild[9899] CFLog (0):
>CFPropertyListCreateFromXMLData(): The file name for this data might
>be (or it might not):
>/Users/jannettdean/Desktop/JC_Stuff/cableBuild/CableSwig.xcodeproj/
>project.pbxproj
>2007-01-21 12:25:23.489 xcodebuild[9899] XML parser error:
>        Unexpected character / at line 1
>Old-style plist parser error:
>        Missing ';' on line 531
>xcodebuild: Error: couldn't load project
>/Users/jannettdean/Desktop/JC_Stuff/cableBuild/CableSwig.xcodeproj
>-----------------

Have you looked at the file in question?  An xcode project (.xcode
or .xcodeproj) is actually a bundle (a folder) and inside it is a text
file named 'project.pbxproj'.  I bet if you take a look at it with a
text editor you will discover that it is malformed.  How it got that way
I don't know, maybe a cmake bug.

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada




More information about the CMake mailing list