I updated my iPad today to version 16.4 and now when I try to transfer my app from Xcode to the iPad I get the following error: "Failed to prepare the 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." My Xcode version is Version 14.2 (14C18).
Does anyone know how I can resolve this. I was able to transfer the app earlier today before I updated the iPad version.