search error :Error Domain=AMapSearchErrorDomain Code=1805 "此服务器的证书无效。您可能正在连接到一个伪装成“restapi.amap.com”的服务器,这会威胁到您的机密信息的安全。" UserInfo={NSLocalizedDescription=此服务器的证书无效。您可能正在连接到一个伪装成“restapi.amap.com”的服务器,这会威胁到您的机密信息的安全。}
2017-08-11 07:19:01.077957+0800 Customer[282:10597] [] nw_coretls_callback_handshake_message_block_invoke_3 tls_handshake_continue: [-9814]
2017-08-11 07:19:01.077956+0800 Customer[282:10578] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9814)
2017-08-11 07:19:01.125872+0800 Customer[282:10568] [] nw_coretls_callback_handshake_message_block_invoke_3 tls_handshake_continue: [-9814]
2017-08-11 07:19:01.126815+0800 Customer[282:10578] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9814)
2017-08-11 07:19:04.798076+0800 Customer[282:10578] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9814)
2017-08-11 07:19:04.798931+0800 Customer[282:10597] [] nw_coretls_callback_handshake_message_block_invoke_3 tls_handshake_continue: [-9814]
2017-08-11 07:19:04.875107+0800 Customer[282:10578] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9814)
2017-08-11 07:19:04.876242+0800 Customer[282:10565] [] nw_coretls_callback_handshake_message_block_invoke_3 tls_handshake_continue: [-9814]
2017-08-11 07:19:07.740335+0800 Customer[282:10565] [] nw_coretls_callback_handshake_message_block_invoke_3 tls_handshake_continue: [-9814]
2017-08-11 07:19:07.740555+0800 Customer[282:10578] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9814)
2017-08-11 07:19:07.785943+0800 Customer[282:10565] [] nw_coretls_callback_handshake_message_block_invoke_3 tls_handshake_continue: [-9814]
2017-08-11 07:19:07.786146+0800 Customer[282:10578] NSURLSession
最后解决了。是手机的系统时间没同步。导致鉴权失败。