Added ios-sim support