Agent Unauthorized issue

I have install agent in my machine Mac mini, and connect iPhone, start running the testProject in my machine it’s run after few seconds the agent show the error message agent unauthorized.

Following.

I’m having the same issue. but for me it is days before unauthorized access.

Similar problem. The agent becomes unauthorized after a day has passed.