Xcode 13 can't fails to prepare device for development after iOS 14.7.1 update

Has anyone else run into this and found a workaround? Xcode 13b1, 3, and 4 are unable to prepare my device for development after I updated it today to 14.7.1. Xcode 12.5.1 is able to.

After churning for several minutes, it always ends up saying

Failed to prepare device for development.

I've rebooted the device and my Mac a few times each now.

There's at least one other report of this issue:

https://stackoverflow.com/questions/68549513/xcode-doesn-t-support-phone-s-ios-14-7-1

I also face the same problem.

Phone:

  • iOS 14.7.1 (18G82)
  • Model: iPhone 7 (Model 1660, 1778, 1779, 1780)

XCode:

  • Version 13.0 (13A233)

Error:

  • Failed to prepare device for development.

Error Details:

  • The device rejected the pairing attempt.
  • Domain: com.apple.dt.MobileDeviceErrorDomain
  • Code: -402653035

Similar issue found: https://developer.apple.com/forums/thread/672986

  • Suggested solution in that issue: restart the phone
  • Didn't work for me

I'm still searching for a solution...

[UPDATE]

  • After updating the iPhone to iOS 14.8 (18H17), the error message changed.
  • New error message: Could not locate the device support files. Xcode could not determine the product version. If you are using a supported combination of Xcode and hardware, please reboot and unlock all devices (including the host mac), and respond to any outstanding pairing requests.

[UPDATE]

[SOLUTION]

  • I'm not exactly sure what was the problem, but it was regarding the podsfiles.

I use Flutter, and after flutter clean, flutter run did wonders, and the app started on the phone

I had this problem as well on my iPhone 12 mini with iOS 15, using Xcode 13. Reboots of the iPhone and Mac didn't help.

In the end (after multiple hours of fiddling) it turned out that there was a message waiting on my Apple Watch whether I trusted my computer. After confirming that I did the iPhone was correctly setup.

Oh my goodness... thanks @katoemba, after searching, restarting phone, macbook, and searching I came upon your comment. Looked at my watch and clicked to trust this computer. Working!

Xcode 13 can't fails to prepare device for development after iOS 14.7.1 update
 
 
Q