Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 8 : PAC Fetch failed with error [NSURLErrorDomain:-1003] log on Console window

I’m getting some strange log on console window while working on project. These are mentioned 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”ve checked below links but didn’t found any useful.

  1. Link 1
  2. Link 2

Note : I’m using Xcode 8.3.2 with iPhone 6 Plus device (iOS 10.3) and Swift 3 language in Project. It seems that there is no issue with this.

These logs appears all of sudden although there is no change in my code. Most important thing is that my project is working as usual. So why I’m getting this issue?

Apart from this will there be an issue when app is uploaded on AppStore?

like image 471
Jayprakash Dubey Avatar asked Nov 07 '22 16:11

Jayprakash Dubey


1 Answers

It's system logs that does not make sense in 99% cases. You should disable this logs in scheme settings

Click on scheme icon -> Edit Scheme -> Arguments -> Environment Variables

And add that variable:

enter image description here

like image 140
Максим Мартынов Avatar answered Nov 14 '22 23:11

Максим Мартынов