Skip to content

Instantly share code, notes, and snippets.

@huacnlee
Created July 12, 2016 12:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save huacnlee/6b5ac1c4722c7d78680465650b161cdf to your computer and use it in GitHub Desktop.
Save huacnlee/6b5ac1c4722c7d78680465650b161cdf to your computer and use it in GitHub Desktop.
<gpx creator="Xcode" version="1.1">
<wpt lat="37.799" lon="-122.4715">
<name>PokemonLocation</name>
</wpt>
</gpx>
@huacnlee
Copy link
Author

huacnlee commented Jul 12, 2016

首先你需要 iOS 开发者账户!

这个保存 PokemonLocation.gpx,Xcode 新建一个空项目,添加这个文件,设为应用而不是 Copy(以便修改以后能直接指向),编译运行到 iPhone 上面,保持运行。

2016-07-12 8 49 34

然后启动 Pokemon GO,回到 Xcode 里面点那个定位的图标,下拉菜单选择 PokemonLocation,游戏的位置就变了。然后要移动,手工改上面 GPS,小数点最后两位(建议幅度是 10 以内),保存,再点击菜单的 PokemonLocation,就更改位置了。要移动要持续改坐标,保存,选菜单。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment