Everything worked perfectly with Xcode 13.3.1 and iOS 15.5 beta on the iPhone X, I could run the app directly on the iPhone X (90GB free).
After installing Xcode 13.4, everything continued to work perfectly, running the app directly on the iPhone X. I installed iOS 15.6 beta 1, and it shows me the following 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.
I completely (totally) uninstalled Xcode 13.4, and reinstalled (Xcode didn't even keep the project list open lately). I have restarted the iPhone X multiple times.
How can I overcome this error without having to downgrade to iOS 15.5?
I have checked the compatibility list within the Xcode.app package, yet it shows iPhone X. To get into 'Device Support' :: Open Finder -> Applications -> Scroll to Xcode -> Right Click -> Show Package Contents -> Contents -> Developer -> Platforms -> iPhoneOS.platform -> DeviceSupport This is the list of devices folder support for your Xcode
The app project is on iOS 15.4.
Thanks in advance.
You have to downgrade to XCode 13.3.1
See the XCode 13.4 release notes: https://developer.apple.com/documentation/xcode-release-notes/xcode-13_4-release-notes
Xcode 13.4 is unable to prepare devices running iOS 15.6 beta for development. (93452791)
Workaround: Use Xcode 13.3.1.