I found when I did this step add "-lngplatform" to "other linker flags" field. - In the "other linker flags" field, add the following: -ObjC -lngplatform I got a error: Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/g++-4.2 failed with exit code 1 Any suggestion? More detail about the error message:
Do you use both cocos2d and Plus+? Yes,I did. The detail error message is: Ld /Users/phoenixreanimation/Desktop/REANIMATION/IPhone/Codebuildout/Debug-iphonesimulator/Plus.app/Plus normal i386 cd /Users/phoenixreanimation/Desktop/REANIMATION/IPhone/app/Plus setenv MACOSX_DEPLOYMENT_TARGET 10.5 setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 -arch i386 -isysroot /var/folders/8P/8PikHhlbFu8mDES61+zc8E+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator3.0-flutncnjblzcqieribpkhxzdmhpn -L/Users/phoenixreanimation/Desktop/REANIMATION/IPhone/Codebuildout/Debug-iphonesimulator -L/Users/phoenixreanimation/Desktop/REANIMATION/IPhone/app/Plus -F/Users/phoenixreanimation/Desktop/REANIMATION/IPhone/Codebuildout/Debug-iphonesimulator -filelist /Users/phoenixreanimation/Desktop/REANIMATION/IPhone/Codebuildout/Plus.build/Debug-iphonesimulator/Plus.build/Objects-normal/i386/Plus.LinkFileList -mmacosx-version-min=10.5 -all_load -ObjC -framework CoreGraphics -framework Foundation -framework OpenGLES -framework QuartzCore -framework UIKit -framework AudioToolbox -framework OpenAL -framework AVFoundation -framework AddressBook -framework MediaPlayer -framework MessageUI -lsqlite3 -framework SystemConfiguration "-lcocos2d libraries" -o /Users/phoenixreanimation/Desktop/REANIMATION/IPhone/Codebuildout/Debug-iphonesimulator/Plus.app/Plus ld: duplicate symbol _NGCGContextAddRoundedRect in /Users/phoenixreanimation/Desktop/REANIMATION/IPhone/Codebuildout/Debug-iphonesimulator/libcocos2d libraries.a(NGDrawing-A491E8C949386E3E.o) and /Users/phoenixreanimation/Desktop/REANIMATION/IPhone/Codebuildout/Debug-iphonesimulator/libcocos2d libraries.a(NGDrawing-DA7D8762376E6D9F.o) collect2: ld returned 1 exit status Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1