Xcode 8: PAC Fetch error with [NSURLErrorDomain: -1003] error in console window

I get some weird log in the console window while working on a project. They are listed below:

  • nw_parameters_set_source_application Failed to convert from PID (0) to UUID. This could lead to wrong data usage accounting.
  • PAC Fetch failed with error [NSURLErrorDomain:-1003]
  • nw_proxy_resolver_create_parsed_array PAC evaluation error

Screenshot 1

I checked the links below, but did not find anything useful.

Note. . I am using Xcode 8.3.2 with an iPhone 6 Plus (iOS 10.3) device and Swift 3 in Project. There seems to be no problem with this.

These logs appear suddenly, although there are no changes in my code. Most important thing is that my project is working as usual. So why am I getting this problem?

Other than that there will be a problem when the application is loaded into the AppStore?

+5
source share
1 answer

These are system logs that do not make sense in 99% of cases. You must disable these logs in the schema settings.

Click the scheme icon → Change scheme → Arguments → Environment variables

And add this variable:

enter image description here

+2
source

Source: https://habr.com/ru/post/1272183/


All Articles