And on loading an Xcode project I've got many warnings about redundant files in the introjucer-generated project, for instance:
Jul 16 11:09:11 MyMachine.local Xcode[80788]: warning: The file reference for "../../../xxxxxxx/juce/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp" is a member of multiple groups ("VST" and "Juce Library Code"); 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.
As a consequence, the file only appears once in the Xcode project tree; this does not prevent the project to apparently compile fine, but who knows? You might want to prevent such issues, just in case you were not aware of these.
did you generate this project with the latest version of Introjucer? Would be interesting to know how you ended up with a file being referenced from two Groups. I think this should not happen if you manage your project with Introjucer.
I was playing around with creating projects with Introjucer just now - but could not find any scenario or use case where it would let me put the same file into two groups simultaneously.
The only thing I can imagine is that you changed the file structure in Xcode at some point, and that screwed up your project somehow..? Otherwise I'm pretty clueless right now.
I'd say it is safe to ignore the console error message in your case, as it does not seem to have any effect on your app compiling correctly.
Did I edit the Xcode project from Xcode.app? Absolutely not.
Does it prevent the app from building? Right now, apparently not.
Will it mess up things or will make the project unloadable/unbuildable at some point in the future because of this (e.g. when browsing through commits on a GIT repo)? Nobody can tell…
2016-10-26 12:10:29.469 xcodebuild[58033:2396125] warning: The file reference for "../../../../modules/juce_audio_processors/juce_audio_processors.h" is a member of multiple groups ("juce_audio_processors" and "juce_audio_processors"); 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.
In my case the files in the warning are exactly the top level headers of the JUCE modules I am using.
Looking inside the project.pbxproj file, I found the file reference appears not in two groups, but twice in one group.
Here’s an excerpt. the reference appears 7th and 9th in the group list, and nowhere else in the file: