Domain=NSURLErrorDomain Code 1202

前端 未结 2 1530
情歌与酒
情歌与酒 2020-12-14 19:00

Hi I receive the following error:

Error Domain=NSURLErrorDomain Code=-1202 \\\"The certificate for this server is invalid. You might be connecting to

2条回答
  •  执念已碎
    2020-12-14 19:21

    It took a lot of time for me to find a fix for this:

    If any of us ran across the certificate issue,. It is because of antivirus preventing iPhone simulator to browse any websites.I was able to fix this issue by the following steps:

    1. uninstall or turn off Antivirus in Mac.
    2. erase all content and settings of simulator.
    3. restart mac.

提交回复
热议问题