[cmake-developers] [CMake 0015272]: “File reference” warnings when building a CMake project with resources in Xcode 6
Mantis Bug Tracker
mantis at public.kitware.com
Mon Dec 1 05:23:19 EST 2014
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
======================================================================
More information about the cmake-developers
mailing list