Xcode 5.1.1
OS X 10.9.5
cocos2dx 3.2
新建HelloWorld,编译不通过,错误信息如下。
Libtool /Users/lishiyu/Library/Developer/Xcode/DerivedData/MacTest-aeybehubbvcbnoezuqtpdekxdaea/Build/Products/Debug-iphonesimulator/libcocos2dx\ iOS.a normal i386
cd /Users/lishiyu/Desktop/cocos2dx32/projects/MacTest/cocos2d/build
export IPHONEOS_DEPLOYMENT_TARGET=5.1.1
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
下面还有
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can’t locate file for: -lpng
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: -lpng is not an object file (not allowed in a library)
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can’t locate file for: -ljpeg
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: -ljpeg is not an object file (not allowed in a library)
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can’t locate file for: -ltiff
等等。。。
上网找了找,发现都是alpha beta版出过这样问题,为啥我这3.2正式的版本还有这样的问题啊。请教大神们如何解决。