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.
Xcode最新版真机调试出现该错误。手机也不是beta版本系统,没有sdk版本不匹配问题。 最后重启手机解决了,应该是手机系统bug。