Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
356 views
in Technique[技术] by (71.8m points)

iphone - How to solve Xcode 4.1 (LION) GPS error?

My project worked perfectly on simulator+device,
but now, after upgrading to lion os and xcode 4.1, I get this error when gps is active!

server did not accept client registration 68

It's a gps based application, and i'm nervous to not debug app in simulator!

Any idea to solve this issue?


UPDATE: Gps on Simulator doesn't work also on Xcode 3.2.6 + LION.


EDIT: Apple response on bug tracker:

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.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Xcode 4.2 solved this problem adding custom gps position!

The file is an XML like this:

<?xml version="1.0"?>
<gpx version="1.1" creator="Xcode"> 
  <wpt lat="45,49939" lon="9,12114">
    <name>Milano</name>
  </wpt>
</gpx>

you can add this file in your project or New->File->GPX.

While you're running your app, activate the console and select your custom position file:

enter image description here

it's all.
enjoy.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...