DeviceActivityReport no longer works on iOS 16 with Xcode 15

Hello,

we had working DeviceActivityReport in our app for months now. However when building with Xcode 15 (previously betas, now the GM), the activity reports no longer displays anything on iOS 16 devices.

If we run it with Xcode 14, it works. But with Xcode 15 builds, the device activity report only works on iOS 17 devices :(

I am able to see some somewhat generic errors in the Console.app when opening screen that contains the report.

-[_EXServiceClient launchWithConfiguration:error:]_block_invoke failed with error: Error Domain=com.apple.extensionKit.errorDomain Code=2 UserInfo={NSUnderlyingError=0x280b9b600 {Error Domain=RBSRequestErrorDomain Code=5 UserInfo={NSLocalizedFailureReason=<private>}}}
Failed to create extensionProcess for extension '<private>' error: Error Domain=com.apple.extensionKit.errorDomain Code=2 UserInfo={NSUnderlyingError=0x280b9b600 {Error Domain=RBSRequestErrorDomain Code=5 UserInfo={NSLocalizedFailureReason=<private>}}}.
Failed to make extensionProcess with error: Error Domain=com.apple.extensionKit.errorDomain Code=2 UserInfo={NSUnderlyingError=0x280b9b600 {Error Domain=RBSRequestErrorDomain Code=5 UserInfo={NSLocalizedFailureReason=<private>}}}
Failed to get extension process and XPC endpoints with error: Error Domain=com.apple.extensionKit.errorDomain Code=2 UserInfo={NSUnderlyingError=0x280b9b600 {Error Domain=RBSRequestErrorDomain Code=5 UserInfo={NSLocalizedFailureReason=<private>}}}

And I managed to find one error that is specific to our activity extension which says just: Cannot track instance that is already dead!

Hi ! we already posted on this issue here -> https://developer.apple.com/forums/thread/735915

can you open a radar as well ?

Will do, we have Feedbacks opened for various activity report issues but not this one yet.

Just opened feedback if anyone wants to reference it: FB13210566

DeviceActivityReport no longer works on iOS 16 with Xcode 15
 
 
Q