'Xcode 13.2.1 error when running on phone with iOS 15.4.1
I had to update the iOS on my iPhone so I upgraded it to the latest version. This forced me to have to update my Xcode as well. It upgraded to 13.2.1 because I guess my computer OS isn't the most recent (a couple months behind). Now, I'm getting the below error:
Failed to prepare device for development.
This operation can fail if the version of the OS on the device is incompatible with the installed version of Xcode. You may also need to restart your mac and device in order to correctly detect compatibility.
Not sure how to fix this. Any help much appreciated!
Solution 1:[1]
Have a look at https://xcodereleases.com. Xcode 13.2.1 supports up-to iOS 15.2. Upgrading to the latest Xcode (13.3.1) will fix the issue.
Conversely, you can take the less conventional route https://medium.com/naukri-engineering/how-to-support-latest-ios-devices-with-older-xcode-versions-22c087b024e6
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Harry J |
