I had the same mistake.
You should update the Xcode version to «Version 15.0 beta 2 (15A5161b)».
After that everything works fine on physical devices with iOS 17.0 (21A5277h) and this error no longer occurs.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: