FamilyControls on Mac Catalyst

I'm testing FamilyControls with Mac Catalyst.

Child account signed in.

Code:

try await AuthorizationCenter.shared.requestAuthorization(for: .child)

Target:

I had a few obstacles:

  1. Passed - App was sandboxed and could not connect to FamilyControlsAgent
Sandbox: macOSFamily(1967) deny(1) mach-lookup com.apple.FamilyControlsAgent
Violation:       deny(1) mach-lookup com.apple.FamilyControlsAgent
  1. Passed - Apple Family app was getting errors in Console. Managed to pass this after enabling screen time and a restart (not sure what wah.
The connection to service named com.apple.contactsd.persistence was invalidated: failed at lookup with error 159 - Sandbox restriction.

Persistent store service connection invalidated: failed at lookup with error 159 - Sandbox restriction
  1. Blocking - It seems that the required agent - com.apple.FamilyControlsAgent - is not running/doesn't exist.
[authorization] Failed to get service proxy: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.FamilyControlsAgent was invalidated: failed at lookup with error 3 - No such process." UserInfo={NSDebugDescription=The connection to service named com.apple.FamilyControlsAgent was invalidated: failed at lookup with error 3 - No such process.}

debug ouptut: Swift.Result<(), Swift.Error>.failure(FamilyControls.FamilyControlsError.restricted)

Has anyone experience this or something similar? Do you have any ideas/suggestions on what can be done?

FamilyControls look to be supported on Mac Catalyst as well.

Post not yet marked as solved Up vote post of dioneea Down vote post of dioneea
1k views
  • have u resolved the issue ?

Add a Comment