I'm trying to test apps on my physical iPhone 12. Currently, it says that it failed to prepare the device for development. I've tried to restart the phone like people reccommend, but it didn't work.
The iOS of the iPhone is 15.4.1, and the XCode version is 13.2.1. I'm thinking that they might not be compatible. Are they?