将GPX文件添加到Xcode 6项目 [英] Add GPX File to Xcode 6 Project

查看:556
本文介绍了将GPX文件添加到Xcode 6项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在关注斯坦福大学iOS讲座中的Trax应用程序演示,教师将应用程序设置为通过AirDrop处理GPX文件,但iPhone模拟器不支持AirDrop。

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 AirDrop.

是否有将文件(更具体地说是GPX文件)添加到iPhone模拟器上的应用程序?我想过给自己发送电子邮件并在模拟器上使用Safari,但我不知道它将存储在哪里或如何从Trax应用程序访问它。

Is there anyway to add files (more specifically GPX files) to an app on the iPhone simulator? I thought about emailing it to myself and using Safari on the simulator, but I have no idea where that would be stored or how to access it from the Trax app.

推荐答案

您可以通过打开方案编辑器将GPX文件添加到项目中:产品 - >方案 - >编辑方案

You can add a GPX file to a prject by opening the scheme editor: Product -> Scheme -> Edit Scheme

您可以检查本教程

这篇关于将GPX文件添加到Xcode 6项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆