我的项目在模拟器+设备上完美运行,
但现在,升级到 lion 操作系统和 xcode 4.1 后,当 GPS 处于事件状态时,我会收到此错误!
server did not accept client registration 68
这是一个基于 GPS 的应用程序,我很紧张不能在模拟器中调试应用程序!
有办法解决这个问题吗?
<小时/>更新:模拟器上的 Gps 也无法在 Xcode 3.2.6 + LION 上运行。
<小时/>编辑:Apple 对错误跟踪器的回应:
After further investigation it has been determined that this is a known issue, which is currently being investigated by engineering. This issue has been filed in our bug database under the original Bug ID#. Thank you for submitting this bug report. We truly appreciate your assistance in helping us discover and isolate bugs.
最佳答案
Xcode 4.2 添加自定义 GPS 位置解决了这个问题!
该文件是这样的 XML:
<?xml version="1.0"?>
<gpx version="1.1" creator="Xcode">
<wpt lat="45,49939" lon="9,12114">
<name>Milano</name>
</wpt>
</gpx>
您可以将此文件添加到您的项目或新建->文件->GPX 中。
当您运行应用时,激活控制台并选择您的自定义位置文件:
就这些了。<br/> 享受吧。
关于iphone - 如何解决 Xcode 4.1 (LION) GPS 错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6792061/