PAC 提取失败,错误为 [NSURLErrorDomain:

编程入门 行业动态 更新时间:2024-10-18 18:29:03
本文介绍了PAC 提取失败,错误为 [NSURLErrorDomain:-1003]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我在日志中看到了这个错误,但我不知道它意味着什么:

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

与此同时,我的应用程序中的 collectionView 有问题.不知道是否与错误有关:

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:

有时,并且只有在我们公司的一个远程办公室中使用该应用程序时,无论是模拟器还是真实设备,一个仅接收图像数组并将它们显示在屏幕上的 collectionView 才会停止工作.

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.

它不像只是加载图像,它似乎没有显示整个 collectionView.

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

我正在另一个办公室(另一个城市)用模拟器和设备测试同一个应用程序,但从来没有发生在我身上.除了PAC"错误之外,我只看到一些自动布局约束问题,但我在日志中看到了相同的错误,但它仍然可以完美运行.

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.

有什么线索吗?

推荐答案

有一个类似的问题通过这个方法解决了.希望这可以帮助.模拟器使用您的计算机网络连接,因此我建议检查系统偏好设置 > 网络 > 高级 > 代理 > 自动代理配置:您必须禁用自动代理发现.

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.

更多推荐

PAC 提取失败,错误为 [NSURLErrorDomain:

本文发布于:2023-11-26 18:13:03,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1634642.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:错误   PAC   NSURLErrorDomain

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!