iPhone 14 Pro Series Simulator bug

I wrote a macOS app and I added iPhone support

Now it looks like this:

I thought it was some sort of .frame or sth like that I've accidentally added

But then I started with a fresh macOS project and added iPhone support, and now it's still like that:

I reckon that's because I've set the target os to iOS 15.4 because when I update to 16 there's no problem

Is it because Xcode can't compile UI for a 14 pro's screen for below iOS 16? But then again, why does the preview work?

iPhone 14 Pro Series Simulator bug
 
 
Q