I'm experiencing this issue as well. I'm using XCode 15 beta 4 and I'm able to install directly from an XCode project. However, when I build an IPA I can't install it to an iOS 17 device but I was able to install the IPA to an iOS 16.6 device which is also a beta iOS version.