The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=15272 
====================================================================== 
Reported By:                Jan Rüegg
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15272
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-12-01 05:23 EST
Last Modified:              2014-12-01 05:23 EST
====================================================================== 
Summary:                    “File reference” warnings when building a CMake
project with resources in Xcode 6
Description: 
Not all the warnings from http://public.kitware.com/Bug/view.php?id=15111 are
fixed in CMake 3.0.2.

For example, when adding a storyboard, you have to add it to the resources, and
to the executable to make it work:

add_executable(foo MACOSX_BUNDLE ${SOURCES} main.storyboard)
set_target_properties(foo PROPERTIES RESOURCE main.storyboard)

This adds two references, and the warning is back:

2014-12-01 10:43:54.083 xcodebuild[44408:1007] warning: The file reference for
"main.storyboard" is a member of multiple groups ("foo" and "Resources"); this
indicates a malformed project. Only the membership in one of the groups will be
preserved (but membership in targets will be unaffected). If you want a
reference to the same file in more than one group, please add another reference
to the same path.



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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-12-01 05:23 Jan Rüegg      New Issue                                    
======================================================================

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to