add ios  simulator support

add  simulator support