构建发布ios时,【编译】报错

构建发布时,到了编译这步报错
mac os 10.9.5,xcode 5.1.1
1.生成HELLOWORLD工程
2.模板选的是default
3.构建成功
4.编译时出现错误,以下是错误内容

Build settings from command line:
CONFIGURATION_BUILD_DIR = /Users/miguo/Documents/NewProject/build/jsb-default/publish/mac

=== BUILD TARGET libjscocos2d Mac OF PROJECT cocos2d_js_bindings WITH CONFIGURATION Release ===

Check dependencies

=== BUILD TARGET libcocos2d Mac OF PROJECT cocos2d_libs WITH CONFIGURATION Release ===

Check dependencies

CompileC build/cocos2d_libs.build/Release/libcocos2d\ Mac.build/Objects-normal/x86_64/CCDevice-apple.o /Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/cocos/platform/apple/CCDevice-apple.mm normal x86_64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build
export LANG=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c++ -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c++11 -stdlib=libc++ -Wno-trigraphs -fpascal-strings -Os -Werror=incompatible-pointer-types -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wnon-virtual-dtor -Woverloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wuninitialized -Wno-unknown-pragmas -Wshadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wno-int-conversion -Wbool-conversion -Wno-enum-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-c++11-extensions -DCC_ENABLE_CHIPMUNK_INTEGRATION=1 -DNDEBUG -DUSE_FILE32API -DCC_KEYBOARD_SUPPORT -D_USRDLL -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.7 -fvisibility=hidden -Wno-sign-conversion -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/build/cocos2d_libs.build/Release/libcocos2d\ Mac.build/libcocos2d\ Mac.hmap -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/… -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/…/cocos -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/…/cocos/editor-support -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/…/external/chipmunk/include/chipmunk -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/…/external -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/…/extensions -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/…/external/mac/include -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/…/external/sources -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/…/external/mac/include/freetype -I/Users/miguo/Documents/NewProject/build/jsb-default/publish/mac/include -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/build/cocos2d_libs.build/Release/libcocos2d\ Mac.build/DerivedSources/x86_64 -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/build/cocos2d_libs.build/Release/libcocos2d\ Mac.build/DerivedSources -F/Users/miguo/Documents/NewProject/build/jsb-default/publish/mac -include /var/folders/rj/k7nysfq51pd5kwl6m4nhgzdw0000gr/C/com.apple.DeveloperTools/5.1.1-5B1008/Xcode/SharedPrecompiledHeaders/cocos2d-prefix-etjvjjgtvfyiagamdjinztlzyzwb/cocos2d-prefix.pch -MMD -MT dependencies -MF /Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/build/cocos2d_libs.build/Release/libcocos2d\ Mac.build/Objects-normal/x86_64/CCDevice-apple.d --serialize-diagnostics /Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/build/cocos2d_libs.build/Release/libcocos2d\ Mac.build/Objects-normal/x86_64/CCDevice-apple.dia -c /Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/cocos/platform/apple/CCDevice-apple.mm -o /Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/build/cocos2d_libs.build/Release/libcocos2d\ Mac.build/Objects-normal/x86_64/CCDevice-apple.o
/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/cocos/platform/apple/CCDevice-apple.mm:39:54: error: use of undeclared identifier ‘NSTextAlignmentRight’; did you mean ‘kCTTextAlignmentRight’?
NSTextAlignment nsAlign = (2 == uHoriFlag) ? NSTextAlignmentRight
^~~~~~~~~~~~~~~~~~~~
kCTTextAlignmentRight
In file included from /Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/cocos/platform/apple/CCDevice-apple.mm:1:
In file included from /Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/…/cocos/platform/mac/cocos2d-prefix.pch:22:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:141:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAppleEventDescriptor.h:7:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:39:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.h:30:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h:72:5: note: ‘kCTTextAlignmentRight’ declared here
kCTTextAlignmentRight = 1,
^
/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/cocos/platform/apple/CCDevice-apple.mm:40:30: error: use of undeclared identifier ‘NSTextAlignmentCenter’; did you mean ‘kCTTextAlignmentCenter’?
: (3 == uHoriFlag) ? NSTextAlignmentCenter
^~~~~~~~~~~~~~~~~~~~~
kCTTextAlignmentCenter
In file included from /Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/cocos/platform/apple/CCDevice-apple.mm:1:
In file included from /Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/…/cocos/platform/mac/cocos2d-prefix.pch:22:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:141:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAppleEventDescriptor.h:7:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:39:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.h:30:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h:73:5: note: ‘kCTTextAlignmentCenter’ declared here
kCTTextAlignmentCenter = 2,
^
/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/cocos/platform/apple/CCDevice-apple.mm:41:11: error: use of undeclared identifier ‘NSTextAlignmentLeft’; did you mean ‘kCTTextAlignmentLeft’?
: NSTextAlignmentLeft;
^~~~~~~~~~~~~~~~~~~
kCTTextAlignmentLeft
In file included from /Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/cocos/platform/apple/CCDevice-apple.mm:1:
In file included from /Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/…/cocos/platform/mac/cocos2d-prefix.pch:22:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:141:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAppleEventDescriptor.h:7:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:39:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.h:30:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h:71:5: note: ‘kCTTextAlignmentLeft’ declared here
kCTTextAlignmentLeft = 0,
^
3 errors generated.

CompileC build/cocos2d_libs.build/Release/libcocos2d\ Mac.build/Objects-normal/x86_64/CCFileUtils-apple.o /Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/cocos/platform/apple/CCFileUtils-apple.mm normal x86_64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build
export LANG=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c++ -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c++11 -stdlib=libc++ -Wno-trigraphs -fpascal-strings -Os -Werror=incompatible-pointer-types -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wnon-virtual-dtor -Woverloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wuninitialized -Wno-unknown-pragmas -Wshadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wno-int-conversion -Wbool-conversion -Wno-enum-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-c++11-extensions -DCC_ENABLE_CHIPMUNK_INTEGRATION=1 -DNDEBUG -DUSE_FILE32API -DCC_KEYBOARD_SUPPORT -D_USRDLL -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.7 -fvisibility=hidden -Wno-sign-conversion -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/build/cocos2d_libs.build/Release/libcocos2d\ Mac.build/libcocos2d\ Mac.hmap -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/… -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/…/cocos -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/…/cocos/editor-support -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/…/external/chipmunk/include/chipmunk -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/…/external -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/…/extensions -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/…/external/mac/include -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/…/external/sources -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/…/external/mac/include/freetype -I/Users/miguo/Documents/NewProject/build/jsb-default/publish/mac/include -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/build/cocos2d_libs.build/Release/libcocos2d\ Mac.build/DerivedSources/x86_64 -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/build/cocos2d_libs.build/Release/libcocos2d\ Mac.build/DerivedSources -F/Users/miguo/Documents/NewProject/build/jsb-default/publish/mac -include /var/folders/rj/k7nysfq51pd5kwl6m4nhgzdw0000gr/C/com.apple.DeveloperTools/5.1.1-5B1008/Xcode/SharedPrecompiledHeaders/cocos2d-prefix-etjvjjgtvfyiagamdjinztlzyzwb/cocos2d-prefix.pch -MMD -MT dependencies -MF /Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/build/cocos2d_libs.build/Release/libcocos2d\ Mac.build/Objects-normal/x86_64/CCFileUtils-apple.d --serialize-diagnostics /Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/build/cocos2d_libs.build/Release/libcocos2d\ Mac.build/Objects-normal/x86_64/CCFileUtils-apple.dia -c /Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/cocos/platform/apple/CCFileUtils-apple.mm -o /Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/build/cocos2d_libs.build/Release/libcocos2d\ Mac.build/Objects-normal/x86_64/CCFileUtils-apple.o

CompileC build/cocos2d_libs.build/Release/libcocos2d\ Mac.build/Objects-normal/x86_64/CCActionGrid3D.o /Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/cocos/2d/CCActionGrid3D.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build
export LANG=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c++11 -stdlib=libc++ -Wno-trigraphs -fpascal-strings -Os -Werror=incompatible-pointer-types -Wno-missing-field-initializers -Wno-missing-prototypes -Wnon-virtual-dtor -Woverloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wuninitialized -Wno-unknown-pragmas -Wshadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wno-int-conversion -Wbool-conversion -Wno-enum-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -DCC_ENABLE_CHIPMUNK_INTEGRATION=1 -DNDEBUG -DUSE_FILE32API -DCC_KEYBOARD_SUPPORT -D_USRDLL -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.7 -fvisibility=hidden -Wno-sign-conversion -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/build/cocos2d_libs.build/Release/libcocos2d\ Mac.build/libcocos2d\ Mac.hmap -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/… -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/…/cocos -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/…/cocos/editor-support -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/…/external/chipmunk/include/chipmunk -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/…/external -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/…/extensions -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/…/external/mac/include -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/…/external/sources -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/…/external/mac/include/freetype -I/Users/miguo/Documents/NewProject/build/jsb-default/publish/mac/include -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/build/cocos2d_libs.build/Release/libcocos2d\ Mac.build/DerivedSources/x86_64 -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/build/cocos2d_libs.build/Release/libcocos2d\ Mac.build/DerivedSources -F/Users/miguo/Documents/NewProject/build/jsb-default/publish/mac -include /var/folders/rj/k7nysfq51pd5kwl6m4nhgzdw0000gr/C/com.apple.DeveloperTools/5.1.1-5B1008/Xcode/SharedPrecompiledHeaders/cocos2d-prefix-ahygvkcvukaweadujlyhhbhjbbwt/cocos2d-prefix.pch -MMD -MT dependencies -MF /Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/build/cocos2d_libs.build/Release/libcocos2d\ Mac.build/Objects-normal/x86_64/CCActionGrid3D.d --serialize-diagnostics /Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/build/cocos2d_libs.build/Release/libcocos2d\ Mac.build/Objects-normal/x86_64/CCActionGrid3D.dia -c /Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/cocos/2d/CCActionGrid3D.cpp -o /Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/build/cocos2d_libs.build/Release/libcocos2d\ Mac.build/Objects-normal/x86_64/CCActionGrid3D.o

CompileC build/cocos2d_libs.build/Release/libcocos2d\ Mac.build/Objects-normal/x86_64/UIVBox.o /Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/cocos/ui/UIVBox.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build
export LANG=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c++11 -stdlib=libc++ -Wno-trigraphs -fpascal-strings -Os -Werror=incompatible-pointer-types -Wno-missing-field-initializers -Wno-missing-prototypes -Wnon-virtual-dtor -Woverloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wuninitialized -Wno-unknown-pragmas -Wshadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wno-int-conversion -Wbool-conversion -Wno-enum-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -DCC_ENABLE_CHIPMUNK_INTEGRATION=1 -DNDEBUG -DUSE_FILE32API -DCC_KEYBOARD_SUPPORT -D_USRDLL -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.7 -fvisibility=hidden -Wno-sign-conversion -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/build/cocos2d_libs.build/Release/libcocos2d\ Mac.build/libcocos2d\ Mac.hmap -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/… -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/…/cocos -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/…/cocos/editor-support -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/…/external/chipmunk/include/chipmunk -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/…/external -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/…/extensions -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/…/external/mac/include -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/…/external/sources -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/…/external/mac/include/freetype -I/Users/miguo/Documents/NewProject/build/jsb-default/publish/mac/include -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/build/cocos2d_libs.build/Release/libcocos2d\ Mac.build/DerivedSources/x86_64 -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/build/cocos2d_libs.build/Release/libcocos2d\ Mac.build/DerivedSources -F/Users/miguo/Documents/NewProject/build/jsb-default/publish/mac -include /var/folders/rj/k7nysfq51pd5kwl6m4nhgzdw0000gr/C/com.apple.DeveloperTools/5.1.1-5B1008/Xcode/SharedPrecompiledHeaders/cocos2d-prefix-ahygvkcvukaweadujlyhhbhjbbwt/cocos2d-prefix.pch -MMD -MT dependencies -MF /Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/build/cocos2d_libs.build/Release/libcocos2d\ Mac.build/Objects-normal/x86_64/UIVBox.d --serialize-diagnostics /Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/build/cocos2d_libs.build/Release/libcocos2d\ Mac.build/Objects-normal/x86_64/UIVBox.dia -c /Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/cocos/ui/UIVBox.cpp -o /Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/build/cocos2d_libs.build/Release/libcocos2d\ Mac.build/Objects-normal/x86_64/UIVBox.o

CompileC build/cocos2d_libs.build/Release/libcocos2d\ Mac.build/Objects-normal/x86_64/CCActionInstant.o /Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/cocos/2d/CCActionInstant.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build
export LANG=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c++11 -stdlib=libc++ -Wno-trigraphs -fpascal-strings -Os -Werror=incompatible-pointer-types -Wno-missing-field-initializers -Wno-missing-prototypes -Wnon-virtual-dtor -Woverloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wuninitialized -Wno-unknown-pragmas -Wshadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wno-int-conversion -Wbool-conversion -Wno-enum-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -DCC_ENABLE_CHIPMUNK_INTEGRATION=1 -DNDEBUG -DUSE_FILE32API -DCC_KEYBOARD_SUPPORT -D_USRDLL -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.7 -fvisibility=hidden -Wno-sign-conversion -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/build/cocos2d_libs.build/Release/libcocos2d\ Mac.build/libcocos2d\ Mac.hmap -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/… -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/…/cocos -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/…/cocos/editor-support -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/…/external/chipmunk/include/chipmunk -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/…/external -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/…/extensions -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/…/external/mac/include -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/…/external/sources -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/…/external/mac/include/freetype -I/Users/miguo/Documents/NewProject/build/jsb-default/publish/mac/include -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/build/cocos2d_libs.build/Release/libcocos2d\ Mac.build/DerivedSources/x86_64 -I/Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/build/cocos2d_libs.build/Release/libcocos2d\ Mac.build/DerivedSources -F/Users/miguo/Documents/NewProject/build/jsb-default/publish/mac -include /var/folders/rj/k7nysfq51pd5kwl6m4nhgzdw0000gr/C/com.apple.DeveloperTools/5.1.1-5B1008/Xcode/SharedPrecompiledHeaders/cocos2d-prefix-ahygvkcvukaweadujlyhhbhjbbwt/cocos2d-prefix.pch -MMD -MT dependencies -MF /Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/build/cocos2d_libs.build/Release/libcocos2d\ Mac.build/Objects-normal/x86_64/CCActionInstant.d --serialize-diagnostics /Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/build/cocos2d_libs.build/Release/libcocos2d\ Mac.build/Objects-normal/x86_64/CCActionInstant.dia -c /Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/cocos/2d/CCActionInstant.cpp -o /Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/build/build/cocos2d_libs.build/Release/libcocos2d\ Mac.build/Objects-normal/x86_64/CCActionInstant.o

** BUILD FAILED **

The following build commands failed:
CompileC build/cocos2d_libs.build/Release/libcocos2d\ Mac.build/Objects-normal/x86_64/CCDevice-apple.o /Users/miguo/Documents/NewProject/build/jsb-default/frameworks/cocos2d-x/cocos/platform/apple/CCDevice-apple.mm normal x86_64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Build failed: Take a look at the output above for details.

请问该怎么解决,看不明白这是什么错误。

xcode 版本太低了?升级一下试试?

已解决,是xcode问题

Users/speed/NewProject000/build/jsb-default/frameworks/cocos2d-x/build/build/cocos2d_libs.build/Release-iphonesimulator/libcocos2d\ iOS.build/Objects-normal/i386/CCMenuItemLoader.o

** BUILD FAILED **

The following build commands failed:
CompileC build/cocos2d_libs.build/Release-iphonesimulator/libcocos2d\ iOS.build/Objects-normal/i386/CCFileUtils.o /Users/speed/NewProject000/build/jsb-default/frameworks/cocos2d-x/cocos/platform/CCFileUtils.cpp normal i386 c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Build failed: Take a look at the output above for details. 这是怎么回事 也是default模板编译的时候

你好.请问你解决没有? 我也遇到了相同的问题. 求教一下解决办法

这是什么意思???

忘了 好像升级xcode到9就好了

不结贴?可以可以