Ionic Map Template dont get accessing geolocation with ios on Ionic View App

Hi, i ask sorry for my english.

I did command line:

  1. ionic start myapp maps
  2. uploaded on ionic View app for ios
  3. when i click button to get position, that will crash.

The question is…
i have to build app and run on platform???

i’am using Win 8…

how i can test if geolocation work on ios? i tested it on google chrome broswer with ionic serve and it worked.