Having the same error - iOS 17.x.x, iphone 11.
have tried:
resetting phone
resetting laptop
revoking certificate
deleting provisioning profiles & derived data
created new apple developer account
reset network settings
I believe it has something to do with my developer account / certificate. When I run an application on my work laptop that is using my work email address Apple Developer account it works, but when I run a test app on same laptop with my personal acct it doesn't work.