You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
App is crashing in YKFAccessoryConnection.m file and Xcode is pointing it to the below method as
Thread 1: EXC_BAD_ACCESS (code=1, address=0x940e92a3b930)
(void)accessoryDidConnect:(NSNotification *)notification {
EAAccessory *accessory = [[notification userInfo] objectForKey:EAAccessoryKey];
if (![self shouldAcceptAccessory:accessory]) { // Here App is crashing
return;
}
Here I have attached a screenshot of the Xcode crash. I am using the latest library yubikit-ios-4.3.0 and using yubico-ctk-extension demo code. My project is in objective c so I linked the source in my project as mentioned in the Readme notes.
Note: I am not using Cocoapods or Swift package dependency. I have added the library manually and using it. Also, it only crashes when I try to connect 5Ci Yubikey after I get a prompt for connection. If Yubikey is already connected then the connection is established successfully also it worked with NFC Yubikey in all ways.
The text was updated successfully, but these errors were encountered:
I found the problem. Somehow YKFAccessoryConnectionConfiguration object is released every time this scenario happens. Can you please help me to solve this? I don't understand what I am doing wrong.
App is crashing in YKFAccessoryConnection.m file and Xcode is pointing it to the below method as
Thread 1: EXC_BAD_ACCESS (code=1, address=0x940e92a3b930)
EAAccessory *accessory = [[notification userInfo] objectForKey:EAAccessoryKey];
if (![self shouldAcceptAccessory:accessory]) { // Here App is crashing
return;
}
Here I have attached a screenshot of the Xcode crash. I am using the latest library yubikit-ios-4.3.0 and using yubico-ctk-extension demo code. My project is in objective c so I linked the source in my project as mentioned in the Readme notes.
Note: I am not using Cocoapods or Swift package dependency. I have added the library manually and using it. Also, it only crashes when I try to connect 5Ci Yubikey after I get a prompt for connection. If Yubikey is already connected then the connection is established successfully also it worked with NFC Yubikey in all ways.
The text was updated successfully, but these errors were encountered: