I ran into the same issue and really don't know what it means and where to search, hopefully someone can help to resolve this.
I've tried several answers i found i.e. Excluded Architectures of arm64 and set Build Active Architecture Only to No but unfortunately no luck.
MacBook Pro 2019 on iPhone 13 iOS 16.0 (20A5339d) / XCode 14.0 beta 5 (14A5294e)
With Xcode 13.4.1 on iPhone 13 iOS 15.5 everything worked well.