After upgrading the mac OS and XCode to 13.2.1 and iPhone to 15.1, the device stopped connecting to the mac. It kept showing the error as
Failed to prepare device for development.
After upgrading the mac OS and XCode to 13.2.1 and iPhone to 15.1, the device stopped connecting to the mac. It kept showing the error as
Failed to prepare device for development.
4
Answers
This answer helped me where you:
Re: Xcode 13.2.1 and iOS 15.4
You may need to update to the latest version of Xcode. If you just updated your phone OS, then Xcode may not support the latest OS. You can find Xcode 13.3.1 (or higher) on the App Store. You’ll need to update to Monterey as well though.
Following solution work for me
Simple Solution:
You just need to update Xcode version from 13.2.1 to higher version available on App Store.