xcode升级到7。01运行cocos2d-x项目报错!

Ld /Users/gaoyu/Library/Developer/Xcode/DerivedData/HelloWorld3-gfwflvrlhrdewrdrclnccxfxppjr/Build/Products/Debug-iphoneos/HelloWorld3\ iOS.app/HelloWorld3\ iOS normal arm64
cd /Users/gaoyu/Documents/HeroCrush/Project/PrecessCrush/proj.ios_mac
export IPHONEOS_DEPLOYMENT_TARGET=5.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk -L/Users/gaoyu/Library/Developer/Xcode/DerivedData/HelloWorld3-gfwflvrlhrdewrdrclnccxfxppjr/Build/Products/Debug-iphoneos -F/Users/gaoyu/Library/Developer/Xcode/DerivedData/HelloWorld3-gfwflvrlhrdewrdrclnccxfxppjr/Build/Products/Debug-iphoneos -filelist /Users/gaoyu/Library/Developer/Xcode/DerivedData/HelloWorld3-gfwflvrlhrdewrdrclnccxfxppjr/Build/Intermediates/HelloWorld3.build/Debug-iphoneos/HelloWorld3\ iOS.build/Objects-normal/arm64/HelloWorld3\ iOS.LinkFileList -miphoneos-version-min=5.0 -dead_strip -fembed-bitcode-marker -stdlib=libc++ -fobjc-link-runtime -framework Security /Users/gaoyu/Library/Developer/Xcode/DerivedData/HelloWorld3-gfwflvrlhrdewrdrclnccxfxppjr/Build/Products/Debug-iphoneos/libcocos2d\ iOS.a -framework CoreMotion -framework Foundation -framework UIKit -framework CoreGraphics -framework OpenGLES -lz -framework QuartzCore -framework OpenAL -framework AVFoundation -framework AudioToolbox -Xlinker -dependency_info -Xlinker /Users/gaoyu/Library/Developer/Xcode/DerivedData/HelloWorld3-gfwflvrlhrdewrdrclnccxfxppjr/Build/Intermediates/HelloWorld3.build/Debug-iphoneos/HelloWorld3\ iOS.build/Objects-normal/arm64/HelloWorld3\ iOS_dependency_info.dat -o /Users/gaoyu/Library/Developer/Xcode/DerivedData/HelloWorld3-gfwflvrlhrdewrdrclnccxfxppjr/Build/Products/Debug-iphoneos/HelloWorld3\ iOS.app/HelloWorld3\ iOS

clang: error: -fembed-bitcode is not supported on versions of iOS prior to 6.0

有人知道怎么解决吗

正解
http://www.bubuko.com/infodetail-969826.html

去掉xcode7 Apple watch 的兼容选项

搜索 BITCODE 将 YES 改成 NO