Hi
I am trying to implement a minimal DeviceActivityReport extension.
Setup:
iOS app with FamilyControls authorization (status = approved)
DeviceActivityReport displayed in SwiftUI
Report extension embedded in PlugIns
Correct NSExtensionPointIdentifier: com.apple.deviceactivityui.report-extension
No NSExtensionPrincipalClass or storyboard
Entitlements:
com.apple.developer.family-controls
com.apple.developer.family-controls.app-and-website-usage
The app installs and runs correctly.
Authorization is granted.
However, the extension is never loaded:
No logs from the extension (init/body/makeConfiguration never called)
Console shows:
"Failed to discover the client's extension: DeviceActivityReportService... ClientError Code=2"
Environment:
Xcode 16.2
iOS device running iOS 18.x (latest available)
The .appex is correctly embedded and signed.
Question:
Is there a known issue with DeviceActivityReport extensions not being discovered at runtime with this setup?
Is additional configuration required beyond NSExtensionPointIdentifier?
Thanks
2
0
135