Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2 issues in iOS 9 #126

Closed
telip007 opened this issue Aug 22, 2015 · 1 comment
Closed

2 issues in iOS 9 #126

telip007 opened this issue Aug 22, 2015 · 1 comment
Assignees
Milestone

Comments

@telip007
Copy link

I've installed Bolts via cocoapods in Xcode 7, now I get 2 errors when I try to build the app.

The first error is "'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)."

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

The errors are in two different Files, the first is in BFAppLinkNavigation.m, the second in BFWebViewAppLinkResolver.m.

Here is the repro: https://github.com/telip007/testPods

@nlutsenko
Copy link
Member

Hey @telip007, thanks for reporting these.
Both of these are just warnings, and not errors - they suggest that few APIs (that actually still work) were deprecated in iOS 9.

I am going to look into this and fix them, but in the meantime - feel free to simply ignore them as they will continue to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants