1. update ios and mac template.