[cmake-developers] [CMake 0015183]: CMAKE_XCODE_ATTRIBUTE_INSTALL_PATH setting makes archiving impossible

Mantis Bug Tracker mantis at public.kitware.com
Wed Oct 1 09:09:08 EDT 2014


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=15183 
====================================================================== 
Reported By:                Jan Rüegg
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15183
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-10-01 09:09 EDT
Last Modified:              2014-10-01 09:09 EDT
====================================================================== 
Summary:                    CMAKE_XCODE_ATTRIBUTE_INSTALL_PATH setting makes
archiving impossible
Description: 
CMake sets CMAKE_XCODE_ATTRIBUTE_INSTALL_PATH to an empty string ("") when
generating xcode projects. For whatever reason archiving projects only works
when
- INSTALL_PATH is NOT set
- INSTALL_PATH is set to some value other than the empty string ("")

It does NOT work when
- INSTALL_PATH is set to the empty string

So I propose for CMake to not set this value at all, then XCode takes some
default which works for archiving files.

See also here:
http://web.archiveorange.com/archive/v/5y7PklO3CkRUMmyHhIlr

and here:
http://public.kitware.com/pipermail/cmake/2011-June/045159.html

and here:
http://stackoverflow.com/a/8102602/369009

Steps to Reproduce: 
- Create XCode project with CMake (for example for ios).
- Try to archive it "Product->Archive"
- Nothing happens

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-10-01 09:09 Jan Rüegg      New Issue                                    
======================================================================




More information about the cmake-developers mailing list