Added very rough support for running the IOS Simulator.