I'm working on a demonstration iOS project with no code other than the default templates that Xcode provided. I'm using the latest Xcode v15.3. In storyboard I've added 2 views to the default View Controller to which I've added constraints such that by default, the first one takes up the top half of the screen and the second one roughly the remainder (bottom half of the screen). Then I've added additional constraints for a "landscape" view, i.e. using the width=regular, height=compact such that the first view takes up the left half of the screen and the second view roughly the remaining right side. In the property inspector I've toggled the "Installed" checkboxes so that the correct constraints are applied for each size class.
Both portrait and landscape views look correct in the storyboard editor, and Xcode reports no warnings.
But when I run Simulator and rotate left to landscape mode, it's not applying the wR:hC size class, and I get a "wide" format as if I hadn't added any additional constraints at all.
Is there some reason why Simulator isn't applying the correct constraints when the device gets rotated? Is this an Xcode bug or did I do something wrong? I've attached a few screen grabs from storyboard and the simulator. You can see which constraints are which based on the icon color in storyboard's document outline pane.