在Xcode上直接编译 samples 目录下的 helloword 工程无法编译通过

同题! 下面是编译错误提示,各位大神多多指导新手一下。谢谢!!

Libtool /work/projects/cocos2d-x-2.2.5/trunk/samples/Cpp/HelloCpp/proj.ios/Build/Products/Debug-iphonesimulator/libcocos2dx.a normal i386
cd /work/projects/cocos2d-x-2.2.5/trunk/cocos2dx/proj.ios
setenv IPHONEOS_DEPLOYMENT_TARGET 5.1
setenv PATH “/Applications/Xcode 2.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode 2.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin”
“/Applications/Xcode 2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool” -static -arch_only i386 -syslibroot “/Applications/Xcode 2.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk” -L/work/projects/cocos2d-x-2.2.5/trunk/samples/Cpp/HelloCpp/proj.ios/Build/Products/Debug-iphonesimulator -L/work/projects/cocos2d-x-2.2.5/trunk/cocos2dx/proj.ios/…/platform/third_party/ios/libraries -filelist /work/projects/cocos2d-x-2.2.5/trunk/samples/Cpp/HelloCpp/proj.ios/Build/Intermediates/cocos2dx.build/Debug-iphonesimulator/cocos2dx.build/Objects-normal/i386/cocos2dx.LinkFileList -ObjC -framework Foundation -lwebp -o /work/projects/cocos2d-x-2.2.5/trunk/samples/Cpp/HelloCpp/proj.ios/Build/Products/Debug-iphonesimulator/libcocos2dx.a

/Applications/Xcode 2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: -dynamic not specified the following flags are invalid: -ObjC
/Applications/Xcode 2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can’t locate file for: -lwebp
/Applications/Xcode 2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: -lwebp is not an object file (not allowed in a library)
Command /Applications/Xcode 2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool failed with exit code 1