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: [email protected]. 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 ====================================================================== -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
