change ios and mac template's resource struct
Merge pull request #8822 from huangshiwu/v3_fixtemplate

change ios and mac template's resource struct