Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bluetooth does not work after upgrading to iOS 8 #11

Open
willSapgreen opened this issue Jul 18, 2015 · 6 comments
Open

Bluetooth does not work after upgrading to iOS 8 #11

willSapgreen opened this issue Jul 18, 2015 · 6 comments

Comments

@willSapgreen
Copy link

To whom it may concern,
After upgrading to iOS 8, the device cannot find each other.
But if connecting with WiFi, the device can.
Do you have this issue?
Thank you.

@jdiehl
Copy link
Owner

jdiehl commented Sep 25, 2015

Sorry for the late answer. Is this still an issue or did you resolve this somehow?

@jdiehl jdiehl closed this as completed Oct 27, 2015
@willSapgreen
Copy link
Author

Hello jdiehl,
can you reopen this issue?
Because I still cannot make two device connect through Bluetooth in iOS9.1.
And I am still digging in the root cause.
Thank you.

@jdiehl jdiehl reopened this Nov 21, 2015
@vjjjv
Copy link

vjjjv commented Oct 22, 2016

For me this reproduced on iOS10 also. The solution was to enable ipv6 for AsyncServer and AsyncConnection like this:

    // set up listening socket
    _listenSocket = [[GCDAsyncSocket alloc] initWithDelegate:self delegateQueue:AsyncNetworkDispatchQueue()];
    [self.listenSocket setIPv6Enabled:YES];

This thread discusses the similar issue and gives evidence that this really might be the correct solution:
https://forums.developer.apple.com/thread/62306

jdiehl added a commit that referenced this issue Oct 23, 2016
@jdiehl
Copy link
Owner

jdiehl commented Oct 23, 2016

Does this patch resolve the issue?

@vjjjv
Copy link

vjjjv commented Oct 23, 2016

Yes, that works for us on iOS9 and iOS10 at least.

@chiahsien
Copy link

@jdiehl Could you update to a new version and the CocoaPods spec for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants