“NSURLErrorDomain” - code: 18446744073709550594 Ajax call on Xcode 7
I am trying to make an asynchronous call from Xcode 7 as follows and I end up seeing this error "NSURLErrorDomain" - code: 18446744073709550594 This code was fine when I used it in Xcode 6. Has anybody else seen this error? var task = NSURLSession.sharedSession().dataTaskWithURL(url!, completionHandler: { (var data, response, error) -> Void in if(response != nil) { if (isJSONP){ if let prefixData = "(".dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false) { var prefixRange = data!.rangeOfData(prefixData,options:NSDataSearchOptions(), range: NSMakeRange(0, data!.length)) if let