iosxcodemacosmacos-monterey

Failed to prepare device for development


I'm encountering a well know problem in the Xcode environment. But I don't know how to procede.

I update my MacBook Air m1 to Monterey 12.3.1 then this message appears every time I try to run my application on my iPhone X 15.4.1.

Problem

I have Xcode 13.2 but the problem began when i upgraded macOs


Solution

  • You need to update the software on your phone to the latest and the xcode to the latest versions