[cmake-developers] [CMake 0012640]: set(CMAKE_XCODE_EFFECTIVE_PLATFORMS "-iphoneos; -iphonesimulator") fails when archiving.
Mantis Bug Tracker
mantis at public.kitware.com
Sun Dec 25 08:27:26 EST 2011
The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=12640
======================================================================
Reported By: Daniel Dekkers
Assigned To:
======================================================================
Project: CMake
Issue ID: 12640
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2011-12-25 08:27 EST
Last Modified: 2011-12-25 08:27 EST
======================================================================
Summary: set(CMAKE_XCODE_EFFECTIVE_PLATFORMS
"-iphoneos;-iphonesimulator") fails when archiving.
Description:
When building and linking to a static library in your iOS project,
CMAKE_XCODE_EFFECTIVE_PLATFORMS lets you declare the correct build paths to the
library. Enabling you to change schemes between device and simulator on the fly
in Xcode. But this doesn't work when archiving, the library is not found during
the linking phase.
Steps to Reproduce:
The iOSNavApp example in the CMake test suite shows this behavior.
Additional Information:
I have another small example based on the standard XCode (4.0.2) OpenGL|ES
application template available if needed: d.dekkers at cthrough.nl.
Also nice to know: Xcode 4.2 doesn't show details of the linking error. Xcode
4.0.2 does.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2011-12-25 08:27 Daniel Dekkers New Issue
======================================================================
More information about the cmake-developers
mailing list