I am having the latest version of XCode, version 14.0. In my iPhone 6, I have the latest version of iOS, version 15.7.
My laptop is MapBook Pro M1 Chip.
After updating the XCode and my iPhone to the latest versions I was no longer able to run projects in my mobile, because XCode says Failed to prepare the device for development.
I found this post in apple forum - https://developer.apple.com/forums/thread/714388. One of the apple members has replied saying it was an issue in XCode and it is fixed in XCode version 14.0.1. Then he has given a download link.
Since my XCode is installed via app store, I checked whether there are any updates. Nothing.
How can I install this latest version of XCode so I can run my apps again?