View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0011259CMakeCMakepublic2010-09-22 23:042011-05-02 14:46
ReporterClaus Höfele 
Assigned ToDavid Cole 
PrioritynormalSeveritycrashReproducibilityalways
StatusclosedResolutionduplicate 
PlatformOSOS Version
Product VersionCMake-2-8 
Target VersionCMake 2.8.3Fixed in VersionCMake 2.8.3 
Summary0011259: Setting CMAKE_OSX_ARCHITECTURES Produces Invalid Xcode Project File
DescriptionTo generate an Xcode project file for iPhone, I'm using

  set(CMAKE_OSX_ARCHITECTURES "$(ARCHS_UNIVERSAL_IPHONE_OS)")

to specify the architectures for the project. If this setting is missing, Xcode enables the architectures x86_64, i386, and ppc, but not the iPhone architectures (arm).

This works with cmake 2.8.0, but not 2.8.2. When using cmake 2.8.2, Xcode 3.2.3 shows an error dialog "Unable to Open Project" "Project ... cannot be opened because the project file cannot be parsed."

Repro:
- Unpack attached cmake_test.zip
- Change into projects directory
- Execute ./generate_xcodei2.sh (The shell script sets a variable that my CMakeList.txt needs.
-> The resulting project file xcodei/2dots.xcodeproj will not open

- Comment out line with CMAKE_OSX_ARCHITECTURES
-> Project file works
TagsNo tags attached.
Attached Fileszip file icon cmake_test.zip [^] (56,928 bytes) 2010-09-22 23:04

 Relationships
duplicate of 0011244closedBrad King Using Xcode built-in variables as CMAKE_OSX_ARCHITECTURES 

  Notes
(0022461)
Claus Höfele (reporter)
2010-10-09 07:27

OK, this is a duplicate of 0011244 and has been fixed.
(0024823)
David Cole (manager)
2011-01-17 16:31

Resolving as duplicate, since reporter says it is a duplicate, and it has been fixed already...
(0026357)
David Cole (manager)
2011-05-02 14:46

Closing resolved issues that have not been updated in more than 3 months.

 Issue History
Date Modified Username Field Change
2010-09-22 23:04 Claus Höfele New Issue
2010-09-22 23:04 Claus Höfele File Added: cmake_test.zip
2010-10-09 07:27 Claus Höfele Note Added: 0022461
2011-01-17 16:31 David Cole Assigned To => David Cole
2011-01-17 16:31 David Cole Status new => assigned
2011-01-17 16:31 David Cole Note Added: 0024823
2011-01-17 16:31 David Cole Relationship added duplicate of 0011244
2011-01-17 16:31 David Cole Status assigned => resolved
2011-01-17 16:31 David Cole Fixed in Version => CMake 2.8.3
2011-01-17 16:31 David Cole Resolution open => duplicate
2011-01-17 16:33 David Cole Target Version => CMake 2.8.3
2011-05-02 14:46 David Cole Note Added: 0026357
2011-05-02 14:46 David Cole Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team