iOS simulators not working behind proxy since upgr

2020-07-09 06:40发布

问题:

I am working in a proxy environment that requires authentication. Since i have upgraded to Xcode 8.2.1, the simulators stop working, however it was working fine with Xcode 8.1 and 7.3 Any help regarding this?

This is the error what i am getting

PAC Fetch failed with error [NSURLErrorDomain:-1022] [] nw_proxy_resolver_create_parsed_array PAC evaluation error: NSURLErrorDomain: -1022

回答1:

The simulator uses your computers network connection, so I recommend checking the System Preferences > Network > Advanced > Proxies > Automatic Proxy Configuration : You must disable Automatic conf.



回答2:

Like @user6307142 had said above, I checked the

System Preferences > Network > Advanced > Proxies

and had to untick the checkbox for Auto Proxy Discovery and apply the settings and checked it out and it worked.



标签: ios xcode8