-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
When running a project on a device, I get error:
2024-02-09 00:48:15.380016+0100 DeviceActivityExample[85680:3524791] [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 159 - Sandbox restriction." UserInfo={NSDebugDescription=The connection to service named com.apple.FamilyControlsAgent was invalidated: failed at lookup with error 159 - Sandbox restriction.}
Setting up the schedule
Current time is: 0
2024-02-09 00:48:15.382659+0100 DeviceActivityExample[85680:3524998] [xpc] Connection error from Optional("com.apple.FamilyControlsAgent"): Couldn’t communicate with a helper application.
Attempts remaining: 1
Error for Family Controls: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.FamilyControlsAgent was invalidated: failed at lookup with error 159 - Sandbox restriction." UserInfo={NSDebugDescription=The connection to service named com.apple.FamilyControlsAgent was invalidated: failed at lookup with error 159 - Sandbox restriction.}
I tried creating another project myself and hit the same error. Not sure how to solve it. Did anyone encounter similar issue with DeviceActivityMonitor extension for iOS?
Metadata
Metadata
Assignees
Labels
No labels