You can run Linux directly on a Mac, at least old macs that have the Intel processors or the PowerPC processor. You could run Linux I think and set up a virtual machine in virtual box running OS X, possibly an older OSX image when it was still possible to run OS X on Intel hardware, and then install XCode and choose one of the iOS emulators, and then install STFC, and maybe it might even work, even if not perfectly legal, but why on Earth do this? It seems better to use Mac hardware and software if you really wanted to do it. On a PC I am not sure why you would want to do this, I’m pretty sure it would violate some eula. Well I think you could run iOS under XCode on Mac hardware running OS X.