In a Cocoa-Touch iPhone app, I get this error if I add a class named List
to my Xcode project:
objc[25878]: Class List is implemented in both /usr/lib/libobjc.A.dylib and /Users/steve/Library/Application Support/iPhone Simulator/User/Applications/4883BE28-51DA-493C-9D8A-28FD026708F4/Duplicate Classes Test.app/Duplicate Classes Test. One of the two will be used. Which one is undefined.
I haven't even used the List
class yet—I've just added it to the project.
The error disappears if the class is renamed. Any idea what might be causing this error? Does Apple have its own List
class somewhere?