I have seen that in the past, but in my situation I don't get why..
- I have a static OS X framework, let's call it MyFramework.framework.
- This framework links against a custom library, libMyStaticLibrary that contains a class MyClass.
- MyClass.h is made public in the headers of MyFramework, and MyFramework.h has #import <MyFramework/MyClass.h>
- I have an OSX app, MyApp, that links with MyFramework.framework, and makes usage of MyClass...
When I go debugging and start doing a print object in lldb, I am prompt this:
objc[69744]: Class MyClass is implemented in both /Users/(...)/DerivedData/MyApp/Build/Products/Debug/MyApp.app/Contents/MacOS/MyApp and /Library/Frameworks/MyFramework.framework/MyFramework. One of the two will be used. Which one is undefined.
I would like to solve this issue, even though it doesn't seem to be a big deal..
So...this is unexpected. At some point during the development of MyFramework I probably tried to "install" it but shouldn't have. It is a static framework that I link with. Thanks QuinceyMorris, you pointed at the right thing bringin up /Library, I removed the MyFramework.framework that was installed in /Library and this message doesn't show up anymore.