Apple Mach-O Linker (id) Error

75 views
Skip to first unread message

rails

unread,
May 15, 2011, 7:48:50 PM5/15/11
to ObjectiveResource
I copied the objective resource folder over to my xcode project, and
now I my code won't compile (it was working perfectly before). I
haven't touched the objective resource code at all, I simply added the
folder to my project and tried to build. The error I get says:


Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/
bin/llvm-gcc-4.2 failed with exit code 1


ld: duplicate symbol _SBJSONErrorDomain in /Users/JRodriguez/Library/
Developer/Xcode/DerivedData/LinkSports-gfwgksvqflrardbrlpuaoupqutae/
Build/Intermediates/LinkSports.build/Debug-iphonesimulator/
LinkSports.build/Objects-normal/i386/SBJSON-B35230C1336A780C.o and /
Users/JRodriguez/Library/Developer/Xcode/DerivedData/LinkSports-
gfwgksvqflrardbrlpuaoupqutae/Build/Intermediates/LinkSports.build/
Debug-iphonesimulator/LinkSports.build/Objects-normal/i386/
SBJsonBase.o for architecture i386

Has anyone encountered this problem? Can anyone help?

Fredrik Jansson

unread,
May 16, 2011, 2:51:09 AM5/16/11
to objectiv...@googlegroups.com
Since i am currently doing webdev and havent fired up xcode in a couple of days i migth be wrong. It seems to be that you have a naming conflict. Remember  obj-c does not have the concept of separate name spaces. So are you using json libs or  have written some code to handle json that migth have the same class names as those in the objective resource source ? 


--
You received this message because you are subscribed to the Google Groups "ObjectiveResource" group.
To post to this group, send email to objectiv...@googlegroups.com.
To unsubscribe from this group, send email to objectiveresou...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/objectiveresource?hl=en.


Reply all
Reply to author
Forward
0 new messages