Background Networking Debug Profile missing?

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:


https://webcache.googleusercontent.com/search?q=cache:WAa8hcxcCAMJ:https://developer.apple.com/bug-reporting/profiles-and-logs/%3Fplatform%3Dios+&cd=1&hl=en&ct=clnk&gl=au&client=safari


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.

Accepted Reply

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"

Replies

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"

Thanks for following up on this, very helpful.

Please update this documentation because it mentions that profile. https://developer.apple.com/documentation/foundation/urlsessionconfiguration/1411552-isdiscretionary

Please update this documentation because it mentions that profile. https://developer.apple.com/documentation/foundation/url_loading_system/downloading_files_in_the_background

(My previous post has wrong link)

Please update this documentation because it mentions that profile.

The best way to get that feedback in front of the folks who can make the change is to file a bug against the docs.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"