1. update ios and mac template.
Merge pull request #3764 from chengstory/4876

1. update ios and mac template.