Open tmandry opened 8 years ago
I'm having the same problem, did you find a solution? iPhone5 and iPhone6S both with iOS 9.2.1.
I found my problem. The solution was described in issue #21, use the following code in Discovery.m: initWithUUID: self.shouldAdvertise = NO; self.shouldDiscover = NO;
switch (startOption) { case DIStartAdvertisingAndDetecting: self.shouldAdvertise = YES; self.shouldDiscover = YES; break; case DIStartAdvertisingOnly: self.shouldAdvertise = YES; break; case DIStartDetectingOnly: self.shouldDiscover = YES; break; case DIStartNone: default: break; }
I haven't been able to discover anyone nearby, testing with 3 different devices (iPhone 5, 6, and 6 Plus) on the example app. Haven't changed anything.
There don't seem to be any interesting logs, except occasionally
Received memory warning.
On each device log I see this message repeated:but it only starts when I go home and reopen the app. In any case I can't get any of the devices to see the other.