Can't get DeviceActivityReportExtension to work

DeviceActivityReportExtension issues

Hi,

I am currently working on a project and hoping to use DeviceActivityReportExtension. I have already successfully set up the DeviceActivityMonitorExtension and that is working correctly, but can't get this to reproduce. I initially had a complex capacitor project which displayed a native UI screen which (tried to) display the screen time report though it was failing silently.

I tried a much simpler setup with a pure swift project (not an iOS dev so forgive my poor code quality) and still having an issue getting this to render on my computer. Here is a reproduction:

https://github.com/ethanmichel0/screen-time-report-bug-recreation/tree/main

Does this code work for others? and if not do you know how I can set this up? idk if my Xcode or iOS versions are incompatible (see versions in that link).

Would be super grateful for some help, thanks so much.

Can't get DeviceActivityReportExtension to work
 
 
Q