cocos2d iphone - Error in xcode after adding adWhirl/adMod SDK -
i compiling xcode cocos2d project after including adwhirl/admod sdk. getting below error when don't clue. saw similar error?
duplicate symbol _main in: /users/rameshjangama/library/developer/xcode/deriveddata/smarty_sg-bevjqrzchdoqlherhrgqjvyiscvk/build/intermediates/smarty sg.build/debug-iphonesimulator/smarty sg.build/objects-normal/i386/main-1c64db92f3446c47.o /users/rameshjangama/library/developer/xcode/deriveddata/smarty_sg-bevjqrzchdoqlherhrgqjvyiscvk/build/intermediates/smarty sg.build/debug-iphonesimulator/smarty sg.build/objects-normal/i386/main-ed4e1b3dcbd8732e.o duplicate symbol _objc_class_$_rootviewcontroller in: /users/rameshjangama/library/developer/xcode/deriveddata/smarty_sg-bevjqrzchdoqlherhrgqjvyiscvk/build/intermediates/smarty sg.build/debug-iphonesimulator/smarty sg.build/objects-normal/i386/rootviewcontroller-214b0a37fe12675b.o /users/rameshjangama/library/developer/xcode/deriveddata/smarty_sg-bevjqrzchdoqlherhrgqjvyiscvk/build/intermediates/smarty sg.build/debug-iphonesimulator/smarty sg.build/objects-normal/i386/rootviewcontroller-6e15f3a1faef641d.o duplicate symbol _objc_metaclass_$_rootviewcontroller in: /users/rameshjangama/library/developer/xcode/deriveddata/smarty_sg-bevjqrzchdoqlherhrgqjvyiscvk/build/intermediates/smarty sg.build/debug-iphonesimulator/smarty sg.build/objects-normal/i386/rootviewcontroller-214b0a37fe12675b.o /users/rameshjangama/library/developer/xcode/deriveddata/smarty_sg-bevjqrzchdoqlherhrgqjvyiscvk/build/intermediates/smarty sg.build/debug-iphonesimulator/smarty sg.build/objects-normal/i386/rootviewcontroller-6e15f3a1faef641d.o ld: 3 duplicate symbols architecture i386 clang: error: linker command failed exit code 1 (use -v see invocation)
looks you've added project twice adwhirl / admod sdk. check branches of project in left pane.
also, clean-up project of following: top menu -> product -> clean. after that, same steps, before this, press , hold alt.
Comments
Post a Comment