View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0015111 | CMake | CMake | public | 2014-08-26 09:32 | 2015-05-04 09:05 | ||||
Reporter | normanius | ||||||||
Assigned To | Brad King | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS X | OS Version | 10.9 | |||||
Product Version | CMake 3.0.1 | ||||||||
Target Version | CMake 3.0.2 | Fixed in Version | CMake 3.0.2 | ||||||
Summary | 0015111: “File reference” warnings when building a CMake project with Xcode 6 | ||||||||
Description | Xcode 6.0 (Beta 4) newly warns the developer if a source file is member of multiple groups/targets. CMake, in order to work properly, adds the main source file to several targets: my_target_name, ALL_BUILD, ZERO_CHECK. Hence, I get the following superfluous warning messages: 2014-08-26 13:47:48.406 xcodebuild[14099:1007] warning: The file reference for "CMakeLists.txt" is a member of multiple groups ("ALL_BUILD" and "ZERO_CHECK"); 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. 2014-08-26 13:47:48.406 xcodebuild[14099:1007] warning: The file reference for "CMakeLists.txt" is a member of multiple groups ("ZERO_CHECK" and "example"); 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. | ||||||||
Steps To Reproduce | The problem is reproducible with the minimal example attached to this bug report. cd minimal_example_xcode6_problem mkdir build && cd build cmake -G Xcode .. xcodebuild | ||||||||
Additional Information | - Xcode 6.0 (6A267n), it's a beta version - Warning does not show up for Xcode 5.1.1 - Warning does not show up if I remove the duplicated entries in the proejct.pbxproj file for the targets ALL_BUILD and ZERO_CHECK. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | ![]() ![]() | ||||||||
Relationships | |||||||||||
|
Relationships |
Notes | |
(0036683) normanius (reporter) 2014-08-27 10:29 |
Added another minimal example that shows a similar warning if the same file is added to two different targets: minimal_example_xcode6_problem_duplicated_files.zip. |
(0036724) Brad King (manager) 2014-09-03 13:02 |
Fixed: Xcode: Generate per-target file references http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=cf92fe2d [^] |
(0038682) Robert Maynard (manager) 2015-05-04 09:05 |
Closing resolved issues that have not been updated in more than 4 months. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2014-08-26 09:32 | normanius | New Issue | |
2014-08-26 09:32 | normanius | File Added: minimal_example_xcode6_problem.zip | |
2014-08-27 10:29 | normanius | Note Added: 0036683 | |
2014-08-27 10:30 | normanius | File Added: minimal_example_xcode6_problem_duplicated_files.zip | |
2014-09-03 10:55 | Brad King | Relationship added | related to 0013935 |
2014-09-03 10:56 | Brad King | Assigned To | => Brad King |
2014-09-03 10:56 | Brad King | Status | new => assigned |
2014-09-03 10:56 | Brad King | Target Version | => CMake 3.1 |
2014-09-03 13:02 | Brad King | Note Added: 0036724 | |
2014-09-11 10:15 | Rolf Eike Beer | Target Version | CMake 3.1 => CMake 3.0.2 |
2014-09-11 10:22 | Brad King | Status | assigned => resolved |
2014-09-11 10:22 | Brad King | Resolution | open => fixed |
2014-09-11 10:22 | Brad King | Fixed in Version | => CMake 3.0.2 |
2014-12-01 11:16 | Brad King | Relationship added | related to 0015272 |
2015-05-04 09:05 | Robert Maynard | Note Added: 0038682 | |
2015-05-04 09:05 | Robert Maynard | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |