AuthorizationCenter.shared.requestAuthorization(for: .individual)
returns:
(lldb) po error
Error Domain=FamilyControls.FamilyControlsError Code=5 "(null)"
(lldb) po error.localizedDescription
"The operation couldn’t be completed. (FamilyControls.FamilyControlsError error 5.)"
What does this error mean?
This is on iPadOS Beta 3. Was working fine in Beta 2.
More generally, how can one debug such errors?
FamilyControlsError exists:
But not 100% sure what they map to. I tried mapping them to error codes that I've dug through in the forums but didn't seem to perfectly map.
Relevant Tweet:
- https://twitter.com/vicvijayakumar/status/1495092161821429761