通过cocoapods安装螺栓时的两个问题

时间:2015-08-22 16:35:45

标签: ios objective-c xcode7 bolts-framework

我已经通过Xcode 7中的cocoapods安装了Bolts,现在当我尝试构建应用程序时出现2个错误。

第一个错误是

'CFURLCreateStringByAddingPercentEscapes' is deprecated: first deprecated in iOS 9.0 - Use [NSString stringByAddingPercentEncodingWithAllowedCharacters:] instead, which always uses the recommended UTF-8 encoding, and which encodes for a specific URL component or subcomponent (since each URL component or subcomponent has different rules for what characters are valid).

第二个错误是

'sendAsynchronousRequest:queue:completionHandler:' is deprecated: first deprecated in iOS 9.0 - Use [NSURLSession dataTaskWithRequest:completionHandler:] (see NSURLSession.h

错误在两个不同的文件中,第一个在 BFAppLinkNavigation.m 中,第二个在 BFWebViewAppLinkResolver.m 中。

Here是复制品。

0 个答案:

没有答案