I had a similar thing. Tried to install my app to my iPhone using Xcode 26 and it failed. So I switched back to Xcode 16.4 and got the same error as you. I've tried:
In my case I believe the problem was the result of accepting suggested project settings in Xcode 26. I couldn't tell you which ones as I just reverted to the commit right before I applied the changes.