PAC Fetch failed with error [NSURLErrorDomain:-1003]

匿名 (未验证) 提交于 2019-12-03 00:46:02

问题:

I see this error in my logs and I don't know what it means:

PAC Fetch failed with error [NSURLErrorDomain:-1003] 2017-06-08 17:07:56.157874+0200 xxxxxx[27059:7093559] [] nw_proxy_resolver_create_parsed_array PAC evaluation error: NSURLErrorDomain: -1003 

At the same time I have a problem with a collectionView in my app. Don't know if it's related to the error or not:

Sometimes, and only if the app is used in one remote office of our Company, both with the simulator and a real device, a collectionView that simply receives an images array and show them on the screen, just stops working.

It's not like it didn't just load the images, it seems like the entire collectionView doesn't show up.

I'm testing the same app with simulators and devices in another office (another city) and it NEVER happened to me. Other that that "PAC" error, I only see some auto layout constraint problems, but I see the same errors in my logs and it still works perfectly.

The persons that are testing the app on the remote location say that they have to remove and reinstall the app to make it work again.

Any clue?

回答1:

Had a similar problem fixed it by this method. Hope this helps. The simulator uses your computers network connection, so I recommend checking the System Preferences > Network > Advanced > Proxies > Automatic Proxy Configuration : You must disable Auto Proxy Discovery.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!