In Beta 4 of MacOS 15, the iPhone Mirroring settings now has a "Reset iPhone Access" button. This fixes the problem.
Topic:
Developer Tools & Services
SubTopic:
Apple Developer Program
Tags: