cocos2dx-js 3.1版本,iOS和android编译出错

下载的最新的cocos2dx-js 3.1版本,部署环境之后,生成helloword,可以正常编译web版本和mac版本,编译ios版本和android版本出错,ios出错信息如下:

/Users/shenlei/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static -arch_only i386 -syslibroot /Users/shenlei/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk -L/Users/shenlei/Documents/Test/HelloWorld/runtime/ios -L/Users/shenlei/Documents/Test/HelloWorld/frameworks/js-bindings/bindings/proj.ios_mac/…/…/external/spidermonkey/prebuilt/ios -filelist /Users/shenlei/Documents/Test/HelloWorld/frameworks/js-bindings/bindings/proj.ios_mac/build/cocos2d_js_bindings.build/Debug-iphonesimulator/jsbindings\ iOS.build/Objects-normal/i386/jsbindings\ iOS.LinkFileList -ljs_static -o /Users/shenlei/Documents/Test/HelloWorld/runtime/ios/libjsbindings\ iOS.a
/Users/shenlei/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: for architecture arm64 object: /Users/shenlei/Documents/Test/HelloWorld/frameworks/js-bindings/bindings/proj.ios_mac/…/…/external/spidermonkey/prebuilt/ios/libjs_static.a(Compression.o) malformed object (unknown load command 3)
Command /Users/shenlei/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool failed with exit code 1

** BUILD FAILED **

The following build commands failed:

Libtool /Users/shenlei/Documents/Test/HelloWorld/runtime/ios/libjsbindings\ iOS.a normal i386
(1 failure)
Build failed: Take a look at the output above for details.

求大神指点