fix #3302 update iOS and Mac.