Search code examples
iphonecore-locationios-4.2

error: server did not accept client registration 68


I am trying to build and run the WhereamI.app example of the Big Nerd Ranch book: iOS Programming, chapter4.

Compiling works just fine and it runs but the output to console is: server did not accept client registration 68, instead of providing the current GPS position and altitude.

I am runing Xcode 4.1 on OS X Lion with the 4.3 SDK.

There is nothing fancy at all in the code. JUst and instance of Corelocation manager and a simple delegation to WhereAmI.app

Any clues?


Solution

  • I had the same problem. Apparently it's a bug in Xcode 4.1. There's some code on their forum you can add that fixes it:

    http://forums.bignerdranch.com/viewtopic.php?f=79&t=2069