I was working on my program, and it seems something in the settings changed. Suddenly I have the error "Duplicate interface declaration for class 'Foo'". It mentions a header file being duplicated but there's only one copy.
Interestingly this is only happening in debug mode, not device mode.
Does anyone have any idea what might be wrong?
I am using Objective-C++ and some static libraries.
Had same issue, seemed that I had one too many class.m files in my project.pbxproj file.
Always back up that file before editing it just in case!