enter image description here
This is how you can solve the problem I had the same problem
You should select your application from the Target section and select xcode 16.0 from the Project Format section.