I am using Xcode 14.0.1, and testing on an iPhone 12 mini with IOS 16.0.
My project target was IOS 14.0. I need something later for TagView according to the comments, so I set that to 16.0 in the project TARGETS > iOS Deployment Target, which updated the PROJECT > iOS Deployment Target.
I now get an error "The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions" when I build. The error line is " var body: some View { " so there is not a lot of clues to that. This is not a big project.
If I change the target 15.0 I get the same error. I tried Product > Clean Build Folder but that did not help.
If I change the target to 14.7 it builds, and runs.
Is there something extra I need to do when changing the target iOS major version?