Posts Tagged CLLocationManager
Could not send unregistration request to daemon
Posted by Chris Danielson in iPhone Development on March 6th, 2010
During a debug process have you seen any of the following lines in your debugger/console logs?
void CLClientInvalidate(__CLClient*)",could not send unregistration request to daemon
or…
CLClientRegister: could not send registration request to daemon
If so, you’ve probably already seen this Apple support link: Â http://discussions.apple.com/message.jspa?messageID=8408930
Well, I’m just going to validate a few things here for you. Â (Before continuing this… check your code after briefly reading this blog.
- You will have to restore your iPhone. Â (This is the solution that worked for me). Â Please post a comment if you find a better solution.
- If you are coding using CLLocationManager you will more than likely notice that you only get 1 set of GPS values before the message starts appearing. Â Also, the CLLocationManager startUpdatingLocation method will only call your delegate once. Â (That is what was happening on my iPhone).
- If you dig through your iPhones “crash logs” via the Organizer application, you’ll more than likely witness that many applications are crashing.
I tried a multitude of workarounds and the only thing that sadly worked was a “restore” which took over 1 hour to complete. Â I will say this, my iPhone runs a lot faster now!