You have to downgrade to XCode 13.3.1
See the XCode 13.4 release notes: https://developer.apple.com/documentation/xcode-release-notes/xcode-13_4-release-notes
Xcode 13.4 is unable to prepare devices running iOS 15.6 beta for development. (93452791)
Workaround: Use Xcode 13.3.1.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: