Up until very recently there was a background networking debug profile here, but it's gone:
https://developer.apple.com/bug-reporting/profiles-and-logs/?platform=ios
It was on the page two days ago:
I was able to download the profile linked from the cached Google result above ^ but it fails to install on device with the error "The profile “Background Networking Diagnostics ” is no longer valid. [MCInstallationErrorDomain – 0xFA1 (4001)]"
I opened the profile in Configurator and it has a "Automatically Remove Profile" date of 21 June 2018, which is probably why it won't install.
Is this just an oversight? It's extremely frustrating because I have a background networking issue I need to debug and this profile would have made my life a lot easier. I can't see any reason why the profile should have been removed.
As you’ve discovered, these debugging configuration profiles expire after a certain amount of time. In many cases it’s easy for us to generate a new profile, but when doing that we have to evaluate whether a new profile makes sense. In this specific case it turns out that the profile is no longer necessary because
nsurlsessiond
has switched over to using unified logging, and you don’t need a profile to enable that logging. Rather, you can get to the log via the usual mechanisms for accessing the iOS console log (the Console app on macOS, a sysdiagnose log, and so on).
This assumes you’re on iOS 11 or later. If you’re trying to debug background session support on iOS 10 or earlier, let me know.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"