make iOS template work ok on armv7s devices

build only active architecture only
Merge pull request #3298 from minggo/develop

make iOS template work ok on armv7s devices