snej / MYNetwork

Mooseyard Networking library: Cocoa utilities, including a generic TCP server/client, plus the reference implementation of the message-oriented BLIP protocol. (This is a mirror of the Mercurial repository at https://bitbucket.org/snej/mynetwork)
27 stars 9 forks source link

BLIP based communication doesn't work on Yosemite DP3 #16

Closed ghmrs356 closed 10 years ago

ghmrs356 commented 10 years ago

I have absolutely no idea why (and I'm hoping you can tell me where to start looking) but since Yosemite DP3, the communication between iOS and Mac (didn't try any other combination) using BLIP networking doesn't work at all.

The service is launched and visible for the other side (in that case that's an iOS device trying to send something to the Mac), but as soon as the iOS device tries to open the connection, it locks up and on the Mac absolutely nothing happens - at least with respect to the delegate methods of BLIPConnection and TCPListener.

snej commented 10 years ago

Yikes. When you say “it locks up”, is that a real hang? If you pause it in Xcode what’s the backtrace? Have you tried running the sample client/server in the MYNetwork project? Those both run on Mac OS so they’ll be somewhat easier to debug.

ghmrs356 commented 10 years ago

OK, I'll do that but I will hold of until DP4. It worked in DP1 and DP2, so they may have fixed whatever it is.

I turned on TCPVerbose logging on the Mac side and there's nothing logged when the iOS device attempts to connect, nothing at all. Not sure what that means exactly tother than there's something broken badly. This happens both for my development app linked against 10.10 with Xcode 6 DP3 and with the current official version linked against 10.7 with Xcode 5.1.1. The same app works with no problem on 10.9.

ghmrs356 commented 10 years ago

Works again with DP4. I wonder what that was.

snej commented 10 years ago

Whew! Thanks for keeping on top of it.