9 Replies
      Latest reply on Oct 11, 2015 7:38 AM by vivekfromgurgaon
      DriveTime Traffic Level 1 Level 1 (0 points)

        When making a call to get directions, e.g. MKDirections calculateDirectionsWithCompletionHandler:(MKDirectionsHandler)completionHandler

        ...in iOS9 simulator, every call fails with an SSL error.  Here's the error trace:

         

        2015-06-13 13:33:35.302 DriveTime[2007:362234] CFNetwork SSLHandshake failed (-9824)

        2015-06-13 13:33:35.304 DriveTime[2007:362234] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9824)

        2015-06-13 13:33:35.305 DriveTime[2007:361377] PBRequester failed with Error Error Domain=NSURLErrorDomain Code=-1200 "An SSL error has occurred and a secure connection to the server cannot be made." UserInfo=0x7fb1bb2085f0 {_kCFStreamErrorCodeKey=-9824, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, NSUnderlyingError=0x7fb1b23b6f90 "An SSL error has occurred and a secure connection to the server cannot be made.", NSLocalizedDescription=An SSL error has occurred and a secure connection to the server cannot be made., NSErrorFailingURLKey=https://gsp-ssl.ls.apple.com/directions.arpc, NSErrorFailingURLStringKey=https://gsp-ssl.ls.apple.com/directions.arpc, _kCFStreamErrorDomainKey=3}




        To me it looks like maybe XCode 7 beta isn't using the built in trust store...because visiting https://gsp-ssl.ls.apple.com/directions.arpc in Safari on the same Mac running XCode does not give an SSL error.  It could be a host name verification thing perhaps. 

         

        Any ideas?