At the time of this writing there is no option in Xcode to export Live Preview in Canvas as PNG image (which would be useful for creating App Store Screenshots).
I'm not sure how this works under the hood but I guess regular simulators are also used in Xcode Canvas for Live Previews. Since it is possible to "Save Screen" from the simulator, I'm wondering is there a way to do the same from Live Previews in Xcode's Canvas?
Can I somehow access those "preview simulators" (ie. via simctl
tool) or Xcode's render cache on disk, or is there any other "hacky" way to achieve this before Apple integrates this option in Xcode (which I believe is just a matter of time).