Added support for iOS simulator.