change ios and mac template's resource struct

more to #8806