Add GPX File to Xcode 6 Project

前端 未结 2 1753
情书的邮戳
情书的邮戳 2021-01-16 06:23

I am following the Trax app demo from Stanford\'s iOS lectures and the instructor set the app up to handle GPX files via AirDrop, but the iPhone simulator doesn\'t support A

相关标签:
2条回答
  • 2021-01-16 07:08

    The way Hegarty does it is he runs the app on his phone (when connected and registered your phone will be the first scheme on the list). Then airdrop on the Mac will see your phone and you're app will grab it.

    0 讨论(0)
  • 2021-01-16 07:15

    You can add a GPX file to a project by opening the scheme editor: Product -> Scheme -> Edit Scheme. Under Options check the Allow Location Simulation box and from the dropdown choose Add GPX File to Workspace.

    In order to generate a GPX file with your custom location you can use this.

    0 讨论(0)
提交回复
热议问题