My project was Ok but now something happened and i got an error, i haven't change anything. i use cocos2d also .
I got this :
ld: duplicate symbol _main in /Users/ranturgeman/Library/Developer/Xcode/DerivedData/BetaDoll-ddteajwutrsqgqfvfeodagynwyal/Build/Products/Debug-iphonesimulator/libcocos2d libraries.a(main.o) and /Users/ranturgeman/Library/Developer/Xcode/DerivedData/BetaDoll-ddteajwutrsqgqfvfeodagynwyal/Build/Intermediates/BetaDoll.build/Debug-iphonesimulator/BetaDoll.build/Objects-normal/i386/main.o for architecture i386
Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang failed with exit code 1
What is that ? I really don't have any duplications in my code .