我决定将我的iPhone和Xcode升级到最新的测试版,并且遇到了障碍。
当我执行MKDirectionsResponse时,我收到以下错误:
PBRequester failed with Error Error Domain=NSURLErrorDomain
Code=-1200 "An SSL error has occurred and a secure connection to the
server cannot be made."
和
NSErrorFailingURLStringKey=https://gsp-ssl.ls.apple.com/directions.arpc,
_kCFStreamErrorDomainKey=3, NSUnderlyingError=0x1bb58330 "An SSL error has occurred and a secure connection to the server cannot be
made.",
我尝试在gsp-ssl.ls.apple.com
,Plist
中豁免NSAppTransportSecurity
- 即使它是一个安全的网络。我该怎么做才能使它正常工作?