add ios  simulator support

add ios  simulator support