[cmake-developers] [CMake 0012451]: MACOSX_BUNDLE path problem when building for iOS with Xcode

Mantis Bug Tracker mantis at public.kitware.com
Fri Sep 9 09:32:01 EDT 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=12451 
====================================================================== 
Reported By:                Druon
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12451
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-09-09 09:32 EDT
Last Modified:              2011-09-09 09:32 EDT
====================================================================== 
Summary:                    MACOSX_BUNDLE path problem when building for iOS
with Xcode
Description: 
I'm not sure if building for iOS is officially supported, but here goes...

When building for iOS with MACOSX_BUNDLE specified on the target, this generates
an XCODE_DEPEND_HELPER.make with Foo.app/Contents/MacOS/foo paths in it. However
for iOS builds, Xcode places the executable 'foo' in Foo.app/foo.

I couldn't find an option to change this behaviour.

The result is that dependency checking does not work and a clean build is
required every time the app is compiled.

Steps to Reproduce: 
Set up an iOS project by setting CMAKE_OSX_SYSROOT, CMAKE_OSX_ARCHITECTURES and
MACOSX_BUNDLE_GUI_IDENTIFIER. Specify MACOSX_BUNDLE for the target executable.
Make a change in a dependency and rebuild the app. The app will not be updated.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-09-09 09:32 Druon          New Issue                                    
======================================================================




More information about the cmake-developers mailing list