ios 开发日记 9

升级xcode7之后3.8报错   

 
 
 
刚刚升级了xcode7,运行之前的游戏报错,以为游戏有问题,就重新用3.8 new了一个新的项目,什么也不做修改,然后一样报错,不能运行。
有谁知道改什么能行吗?xcode中的参数用的不多,不是很懂。又知道的求告诉。


ld: in /Users/dpclove/Library/Developer/Xcode/DerivedData/Test-bembprmvbnfqudbakzjwbwwllifl/Build/Products/Debug-iphonesimulator/libcocos2d iOS.a(ftbase.ios8_x86_64.o), building for iOS simulator, but linking in object file built for OSX, for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)


补充一下,运行自带的test程序也是报这个错误,但运行MAC版本就没事,只有IOS版本会报这个错误





图片:error.png 
 
 
 
 
 
解决方法: 
升级后改下xcode配置就好了,Enable Bitcode yes改为no 
原文地址:https://www.cnblogs.com/nngh/p/4818620.html