求助:更新xcode之后模拟器跑不起来了。。

昨天晚上更新安装了最新的xcode,今天回来就跑不起来了,看不懂问题出在哪里,求指导。

Ld /Users/zhang/Library/Developer/Xcode/DerivedData/xx-dzcliqwopjckonhdmwmsgisojbca/Build/Products/Debug-iphonesimulator/xx.app/xx normal i386
cd /Users/zhang/Desktop/程序练习/xx
export IPHONEOS_DEPLOYMENT_TARGET=7.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"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk -L/Users/zhang/Library/Developer/Xcode/DerivedData/xx-dzcliqwopjckonhdmwmsgisojbca/Build/Products/Debug-iphonesimulator -L/Users/zhang/Desktop/程序练习/xx/xx/libs/cocos2dx/platform/third_party/ios/libraries -L/Users/zhang/Desktop/程序练习/xx/xx/libs/libwebsockets/ios/lib -F/Users/zhang/Library/Developer/Xcode/DerivedData/xx-dzcliqwopjckonhdmwmsgisojbca/Build/Products/Debug-iphonesimulator -filelist /Users/zhang/Library/Developer/Xcode/DerivedData/xx-dzcliqwopjckonhdmwmsgisojbca/Build/Intermediates/xx.build/Debug-iphonesimulator/xx.build/Objects-normal/i386/xx.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -lxml2 -lz -lsqlite3 -websockets -Xlinker -no_implicit_dylibs -fobjc-link-runtime -mios-simulator-version-min=7.1 -framework OpenAL -lwebsockets -lwebp -framework UIKit -lcurl -framework QuartzCore -framework AVFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework AudioToolbox -Xlinker -dependency_info -Xlinker /Users/zhang/Library/Developer/Xcode/DerivedData/xx-dzcliqwopjckonhdmwmsgisojbca/Build/Intermediates/xx.build/Debug-iphonesimulator/xx.build/Objects-normal/i386/xx_dependency_info.dat -o /Users/zhang/Library/Developer/Xcode/DerivedData/xx-dzcliqwopjckonhdmwmsgisojbca/Build/Products/Debug-iphonesimulator/xx.app/xx

clang: error: unknown argument: ‘-websockets’ -Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future

还是一个新手,完全看不懂。。。:6:

building setting ->other link flgs里把’-websockets删掉

非常感谢,用你的办法能够跑起来了

但是每次新建工程都要删除这个,不知道有没有永久性的解决办法?

同样遇到,暂时这样解决

同求指点,能在哪里改下就能在新建的时候不出现这样的问题

暂时解决了,想了解导致这个的原因