printdotio / printio-ios-sdk

SDK that enables the printing of any photo, from any source, onto any product!
Other
20 stars 11 forks source link

App Transport Security policy requires the use of a secure connection:iOS9 #477

Closed leenyburger closed 9 years ago

leenyburger commented 9 years ago

Was working fine before upgrading to iOS9. Now when I try to open the view controller I recieve the following error : PrintIO: connectionError: Error Domain=NSURLErrorDomain Code=-1022 "The resource could not be loaded because the App Transport Security policy requires the use of a secure connection." UserInfo={NSUnderlyingError=0x7f90c16ee760 {Error Domain=kCFErrorDomainCFNetwork Code=-1022 "The resource could not be loaded because the App Transport Security policy requires the use of a secure connection." UserInfo={NSErrorFailingURLStringKey=http://staging.api.print.io/api/v/23/source/ios/products/?recipeid=00000000-0000-0000-0000-000000000000&countryCode=us, NSLocalizedDescription Running XCode 7.0.1

leenyburger commented 9 years ago

Closed due to temporary fix provided.