错误域= NSURLErrorDomain代码= -1202 iPhone [英] Error Domain=NSURLErrorDomain Code=-1202 iPhone

查看:215
本文介绍了错误域= NSURLErrorDomain代码= -1202 iPhone的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到以下错误: 错误域= NSURLErrorDomain代码= -1202此服务器的证书无效.您可能正在连接到假装为"api.linkedin.com"的服务器,这可能会使您的机密信息受到威胁. UserInfo = 0x1c53e630

I am geting following error: Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be "api.linkedin.com" which could put your confidential information at risk." UserInfo=0x1c53e630

这在模拟器上工作正常,但在设备上却出现上述错误.

This works fine on simulator but on device it is giving above mentioned error.

请帮助纠正它.

推荐答案

是设备设置,需要更改日期和时间,并将其自动设置为当前时区.

It is device setting that need to change the date and time , and set it automatically ON for current time zone .

这篇关于错误域= NSURLErrorDomain代码= -1202 iPhone的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆