I'm getting a FamilyControlsError Code=3
when requesting authorization from a simulator signed in with a child iCloud account.
When requesting authorization from a simulator signed in with a parent iCloud account I receive the expected FamilyControlsError Code=2
.
There's not a lot of info on resolving these errors, and the code is pretty simple:
func requestAuthorization() {
AuthorizationCenter.shared.requestAuthorization { result in
switch result {
case .success():
print("Sucess...")
case .failure(let error):
print("Failed... \(error)")
}
}
}