Finally, I solved this issue by unpairing my iPhone and then restarting my iPhone and Mac.
Make sure to change Deployment Target and selected your Xcode version at the Command Line Tools option before restarting your iPhone and Mac.
I hope this can help you!
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: