1、升级到xcode7后报警告:directory not found for option '-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/Developer/Library/Frameworks'
这个问题具体还是很纠结,但首先还是确保你的xcode7是在官网下的,不然就是中毒了。。如果是官网下的,可以尝试在Build Settings中找到Framework Search Paths,然后把警告的那个path去掉,我的警告就是这么消除的。
2、升级到xcode7后分享、第三方登录等需要打开第三方应用的功能出问题不能用。
查了资料,在iOS9中,如果使用了URL Scheme,那么必须在"Info.plist"中将你要在外部调用的URL Scheme列为白名单,否则不能使用。比如我用了qq和微信,就添加了以下代码:
<key>LSApplicationQueriesSchemes</key>
<array>
<string>mqqOpensdkSSoLogin</string>
<string>mqzone</string>
<string>alipayauth</string>
<string>alipay</string>
<string>safepay</string>
<string>mqq</string>
<string>mqqapi</string>
<string>mqqopensdkapiV3</string>
<string>mqqopensdkapiV2</string>
<string>mqqapiwallet</string>
<string>mqqwpa</string>
<string>mqqbrowser</string>
<string>wtloginmqq2</string>
<string>weixin</string>
<string>wechat</string>
</array>
3、升级到xcode7后运行原先项目出现以下错误:You must rebuild it with
botched enabled...
未来Watch应用必须包含Bitcode,虽然iOS不强制,但是xcode7会默认开启这个Bitcode,所以需要做处理。网上找到两个方法,第一:更新library使其包含Bitcode。第二:关闭Bitcode。我用的是第二个方法,在Build Settings中找到Bitcode,选择No即可,第一种方法待验证。。
4、第三方框架警告
这个可以到github上找到第三方框架,不出意外,作者已经更新了。。