Hey,
Did you check the beta OS you have on your phone is supported by XCode Beta version you got on your mac?
Also, did you enable "Developer mode" in the device settings of iPhone?
Note: For devices running iOS 16.4 or later, go to Settings > General > Software Update > Beta Updates and choose the Developer beta to install this software. Before testing your software on your device, make sure to enable Developer Mode in Settings > Privacy & Security.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: