-
Notifications
You must be signed in to change notification settings - Fork 214
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
Fail to connect to peripheral after updating the library #28
Comments
It will be hard to tell what's the issue exactly without seeing some code where the issue occurs. I think this line is the hint: Try to see what is stored in that address when you repro and let me know, and some code snippet would help a bit |
This is the track of the address.
There is nothing special in the code.
|
Can you check if the |
Well, I don't see it becoming nil,
|
What happens in the |
It's a view to show if a firmware update exists, and if the user presses update, it will move to FirmwareUpdateProgressView and start updating. |
Something must have went wrong in your migration process since the library works fine in our expamles, I would put a breakpoint ant whatever line is calling
and see what has actually been deallocated. To make it easier I would suggest enabling zombie objects in your |
Ok thanks, I'll try and post again if I have trouble with it. |
No worries, just drop a line if you have any issues. |
Update on the problem,
Any reason for why this may be happening? |
Maybe there are no longer any references to it, try to hold a reference somewhere that will keep it from deallocating |
Solved, I did not hold the reference to |
No worries at all , glad it works out ! |
I was using the old library from the other repository (1.0.8), and updated it to the newest release as updagrading to Xcode 8 and iOS10.
However I can't get it to work.
On iOS 10, its stuck at connecting to the device (nothing happens), and on iOS9 the following error occurs:
This is the backtrace:
Any suggestion on the fix to this?
The text was updated successfully, but these errors were encountered: