iOS 9部分问题

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上找到第三方框架,不出意外,作者已经更新了。。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值