[Xcode] Failed to prepare device for development.

d Xcode version 13.4.1 (13F100). My device's software version is 15.5.

I got this message. "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.~~~"

What's the problem?? Why??

I checked this path. "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/ "

In this path, There is 15.5 version sdk. Please help me.

Solution that worked for me: simple iPhone restart

[Xcode] Failed to prepare device for development.
 
 
Q