简体   繁体   中英

Running Safari on the iOS simulator

I have Xcode and an iOS Simulator (iPhone 11 - 13.3) installed on my Mac. The Mac itself is going through my company's proxy server. It is connecting properly to the Internet - I can bring up desktop Safari and browse to any external site.

However I can't do the same through the iOS Simulator. When I open Safari on the simulator and try to visit an external site, I get this error message:

在此处输入图片说明

How do I get this to work?

Solved. The answer was a combination of the SO answer referred by @Paulw11 + a thread on Apple Developer Forums .

You must drag the cert and drop it on the simulator + you must make sure that you are not dragging from any of the 3 D folders (Desktop, Documents, Downloads). The second requirement tripped me up for hours on MacOS Catalina.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM