How to reconnect the Info.plist to the Build Settings

I'm working on some older apps, and I don't think they were ever opened in Xcode 14. I'm updating them in Xcode 15 and I'm having some problems with the Plist. It looks like I've lost the link between the Info.plist and their related Build Settings. I want to lock the iPhone orientation to portrait. This always worked in the past.

When I change the Deployment Info, iPad Orientations or iPhone Orientations using the checkboxes the updates show up in the Info Custom iOS Target Properties (info.plist). However, they are not reflected in the Info.plist Values in the build settings. Even if I update the build settings manually, I still don't have the iPhone locked in portrait orientation.

Has anybody run into this and know how to fix it?

Thanks for the help in advance.