I'm getting this same error when attempting to run my app on a physical device. The device is on the most recent iOS 17 beta and I'm using the most recent beta build of Xcode. I was in the process of migrating my core data stack to App Group when this error occurred so I'm unsure if there's a relation or if it's a beta issue.