I managed to solve the problem. The issue was that I had the Family Controls authorization set up in the development section of Xcode but hadn't included it in the release section.
Any one facing this issue make sure to put the family controls entailment on release section (go on target -> release -> capabilities)
Topic:
Developer Tools & Services
SubTopic:
General
Tags: