Add support for ios and iossimulator