DTS Engineer Apple Dec ’16 I’m not sure what’s going on with your specific code but setting the Authorization header manually is not the right approach. Rather, you should set up your session to handle authentication challenges via the -URLSession:task:didReceiveChallenge:...
DTS Engineer Apple Mar ’20 The NEAgentErrorDomain error domain isn’t documented but if I’m reading the code correctly error 2 is NEAgentErrorCancel, that is, not very helpful. My first step in debugging stuff like this is to determine whether the provider is ever instantiated. ...