What can cause Bonjour to not call me back during browsing?
Posted
by millenomi
on Stack Overflow
See other posts from Stack Overflow
or by millenomi
Published on 2009-08-13T08:26:15Z
Indexed on
2010/06/14
3:02 UTC
Read the original article
Hit count: 302
I have a rather popular Bonjour-based application in App Store. It works perfectly, but around 0.2% of my users report a bizarre bug: "no arrows appear on the edges of the screen, so I can't share stuff with other people!". Needless to say, displaying these arrows is tied to the browsing of a particular Bonjour service on the local domain.
The problem is, the Apple review team seems to intermittently happen to be in this 0.2%. This isn't good for review results, as you might imagine. No matter how much I try, I cannot reproduce this bug.
From the few logs I have, it looks like my app is running correctly, just not receiving NSNetServiceBrowser
delegate calls. What can cause this?
Things I've tried:
- Having a shorter service name < 14 chars in length to be in spec.
- Publishing on
@"local."
rather than@""
(aka Go Look For The Default Registration Domain). My app is rather useless on a wide-area network anyway.
Things I haven't tried: restarting the browsing machinery periodically. (I have two browsers, though, one looking for the legacy longer name, one for the new shorter one.)
What to do?
© Stack Overflow or respective owner