Post

Replies

Boosts

Views

Activity

Reply to DeviceActivityReport extension not discovered at runtime (ClientError Code=2)
Hi Thanks a lot for your previous hint — it helped me fix the bundle setup. I now have the following confirmed: The report extension is correctly embedded under: Work4Fun.app/Extensions/UsageReportExtension.appex Info.plist uses: EXAppExtensionAttributes → EXExtensionPointIdentifier = com.apple.deviceactivityui.report-extension Entitlements include: com.apple.developer.family-controls com.apple.developer.family-controls.app-and-website-usage App Group The compiled binary clearly contains my code (UsageReportExtension.init, makeConfiguration, etc.) However, at runtime: DeviceActivityReport is instantiated (I see my view appear) System logs show: Plugin query method called But the extension is never actually executed: no init no makeConfiguration no output file written in App Group I also tried: deleting the app rebooting the device reinstalling from Xcode re-authorizing Screen Time → same result So it looks like: → iOS resolves the extension, but does not launch it Have you seen this behavior before? Is there any additional trigger or condition required for the report extension to actually run? Thank you
Topic: App & System Services SubTopic: General Tags:
1w
Reply to DeviceActivityReport extension not discovered at runtime (ClientError Code=2)
Hi Thanks a lot for your previous hint — it helped me fix the bundle setup. I now have the following confirmed: The report extension is correctly embedded under: Work4Fun.app/Extensions/UsageReportExtension.appex Info.plist uses: EXAppExtensionAttributes → EXExtensionPointIdentifier = com.apple.deviceactivityui.report-extension Entitlements include: com.apple.developer.family-controls com.apple.developer.family-controls.app-and-website-usage App Group The compiled binary clearly contains my code (UsageReportExtension.init, makeConfiguration, etc.) However, at runtime: DeviceActivityReport is instantiated (I see my view appear) System logs show: Plugin query method called But the extension is never actually executed: no init no makeConfiguration no output file written in App Group I also tried: deleting the app rebooting the device reinstalling from Xcode re-authorizing Screen Time → same result So it looks like: → iOS resolves the extension, but does not launch it Have you seen this behavior before? Is there any additional trigger or condition required for the report extension to actually run? Thank you
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
1w