meviza wrote:
Thanks. Is there a chance I can set up an older version of Xcode with a virtual machine to run an iOS 12 simulator without purchasing a device like the iPhone 6?
Assuming you have access to the older Xcode downloads available to Apple developer program members, and your chosen hypervisor can provide USB pass-through on Apple silicon, and the available storage, probably.
You're probably going to want to test your app on real hardware that far back anyway, and scrounging one would avoid the effort you're headed for here. Going price used and unlocked seems to be USD$50 to USD$75, as well. Ask around, and you might be able to scrounge one locally.
It's also obviously possible to deprecate iPhone 6 and earlier and deprecate iOS 12 and earlier, since you don't have one and can't test. Some of the major apps have already deprecated iPhone models not running iOS 14 or later, so this deprecation wouldn't be unusual.