guys! I have been developing the app that is required to use FamilyControll API and other related frameworks. I have successfully made child device authorised with Family API, but on parent device it shows an error:
Error Domain=FamilyControls.FamilyControlsError Code=2 "(null)"
I found that link (https://developer.apple.com/forums/thread/682257) and it's written here, that FamilyControlsError Code=2 is the error code for an invalid account type; this is expected when trying to authorize FamilyControls on a non-child iCloud account.
My question is - how can I authorise my parent using Family Control API in order to use for example DeviceActivity framework and ManegedSettings framework?