cocos2d-x v3 github在Mac平台编译失败"can't locate file for: -lwebsockets"

错误信息:
Libtool /Volumes/Interesting/Projects/Games/cocos2d-x/tests/cpp-tests/bin/debug/mac/libcocosNetwork\ Mac.a normal x86_64
cd /Volumes/Interesting/Projects/Games/cocos2d-x/build
export MACOSX_DEPLOYMENT_TARGET=10.7
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static -arch_only x86_64 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -L/Volumes/Interesting/Projects/Games/cocos2d-x/tests/cpp-tests/bin/debug/mac -L/Users/huabingxu/work/cocos2d-x/external/websockets/prebuilt/mac -filelist /Volumes/Interesting/Projects/Games/cocos2d-x/build/build/cocos2d_libs.build/Debug/cocosNetwork\ Mac.build/Objects-normal/x86_64/cocosNetwork\ Mac.LinkFileList -lwebsockets -o /Volumes/Interesting/Projects/Games/cocos2d-x/tests/cpp-tests/bin/debug/mac/libcocosNetwork\ Mac.a
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can’t locate file for: -lwebsockets
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: -lwebsockets is not an object file (not allowed in a library)

** BUILD FAILED **

解决办法:
将build/cocos2d_libs.xcodeproj/project.pbxproj中的/Users/huabingxu/work/cocos2d-x/替换成正确路径,你懂的。

多谢提醒,问题修复
在pull request
https://github.com/cocos2d/cocos2d-x/pull/7573
带来的不便表示抱歉

依然有这个问题,怎么破

还是出现问题啊,并且在路径下面没有找到“/Users/huabingxu/work/cocos2d-x/替换成正确路径,你懂的。 ”这个Users

我的是can’t locate file for: -lpng, 这个问题还是按照你这个方法改的,但是解决不了,Xcode5.1.1,cocos2dx 3.0。

请问一下这个问题你解决了吗

请问一下这个问题你现在解决了吗

请问一下这个问题你是怎么解决的呢

Please copy all prebuilt .a file from cocos2d/external folders to your project 's cocos2d dir .
Linking tool needs those prebuilt static libraries to make the cocos2d library file.