Copying iPhones from Xcode to App Store

Hi, I'm new to Swift programming and am trying to put a project through to the App Store for publication. I'm hung up at the section where I have to populate it with sceenshot several sizes of iPhones and iPads. I am running Xcode 14.3 and tried running all of the iPhones in Xcode on the simulator and then taking a screenshot and copying and pasting them to populate the section in App Store. Only one phone would work and that was the Max Pro 14 which matched the 6 1/2" display.

How do I go about getting the remaining iPhones and iPads copied so I can complete this section of the form.

Thank you very much.