Run your app on the simulator and take a screenshot on it using command + s. I am running an iPhone 15 simulator and the screenshot taken through it worked instantly. 2024.
command + s