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.
When I try to build vidstream app and install it into my iphone I'm getting the above notification in my xcode
Using:
Xcode 13
iOS 15.2 - iPhone 12