mac os 升级到10.11后,Xcode问题

来源:互联网 发布:spin磁共振分析软件 编辑:程序博客网 时间:2024/05/16 01:18

这两天心痒难耐,把自己的macbook pro升级到了 10.11,然后出了好多问题,总结一下!

一、关于Xcode

1.我的Xcode版本是6.2的,升级系统后,吖的选择模拟器的框框不见了,郁闷之极,网上查找一翻,说将Xcode宽度拉大些就有了,我一试,果然可以!但是我的屏幕不够大呀,如果这个,那每次码代码的时候还得来回拖动Xcode,甚是不便,于是升级Xcode到7.1,接下来问题又来了!


2. Xcode貌似从7开始吧(版本不确定),安全机制改了,还得配置下项目的info.plist文件,如下:


打开plist后,添加 App Transport Security Settings  字典,键值  Allow Arbitrary Loads : YES



二、Reveal也不能正常使用了! (不确定是否是升级导致,很长一段时间没有用了)

报错如下图:

Undefined symbols for architecture i386:

  "_deflate", referenced from:

      -[IBAHTTPJSONResponse initWithJSONString:compress:] in Reveal(IBAHTTPJSONResponse.o)

  "_deflateEnd", referenced from:

      -[IBAHTTPJSONResponse initWithJSONString:compress:] in Reveal(IBAHTTPJSONResponse.o)

  "_deflateInit2_", referenced from:

      -[IBAHTTPJSONResponse initWithJSONString:compress:] in Reveal(IBAHTTPJSONResponse.o)

ld: symbol(s) not found for architecture i386

clang: error: linker command failed with exit code 1 (use -v to see invocation)


解决方法:

添加 libz.tbd 即可!





0 0