better checking for ios-sim