Xcode 13 2 1 error when running on phone with iOS 15 4 1

0 votes

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!


 

Nov 30, 2022 in Mobile Development by gaurav
• 23,220 points
862 views

1 answer to this question.

0 votes
  1. Check /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/ for directory name 15.4 (your iOS version).
  2. If the directory is missing download support files for 15.4 (your iOS version) from https://github.com/filsv/iPhoneOSDeviceSupport and place it in the above path.
  3. Restart Xcode.
answered Dec 15, 2022 by gaurav
• 23,220 points

Related Questions In Mobile Development

0 votes
0 answers

Xcode(version 13.3.1) doesn’t support iOS 15.6

I updated my iPhone to iOS 15.6 ...READ MORE

Nov 10, 2022 in Mobile Development by gaurav
• 23,220 points
290 views
0 votes
0 answers
0 votes
0 answers