{"action":"created","issue":{"url":"https://api.github.com/repos/NordicSemiconductor/IOS-Pods-DFU-Library/issues/28","repository_url":"https://api.github.com/repos/NordicSemiconductor/IOS-Pods-DFU-Library","labels_url":"https://api.github.com/repos/NordicSemiconductor/IOS-Pods-DFU-Library/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/NordicSemiconductor/IOS-Pods-DFU-Library/issues/28/comments","events_url":"https://api.github.com/repos/NordicSemiconductor/IOS-Pods-DFU-Library/issues/28/events","html_url":"https://github.com/NordicSemiconductor/IOS-Pods-DFU-Library/issues/28","id":181361220,"number":28,"title":"Fail to connect to peripheral after updating the library","user":{"login":"heewoonam","id":19640165,"avatar_url":"https://avatars.githubusercontent.com/u/19640165?v=3","gravatar_id":"","url":"https://api.github.com/users/heewoonam","html_url":"https://github.com/heewoonam","followers_url":"https://api.github.com/users/heewoonam/followers","following_url":"https://api.github.com/users/heewoonam/following{/other_user}","gists_url":"https://api.github.com/users/heewoonam/gists{/gist_id}","starred_url":"https://api.github.com/users/heewoonam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heewoonam/subscriptions","organizations_url":"https://api.github.com/users/heewoonam/orgs","repos_url":"https://api.github.com/users/heewoonam/repos","events_url":"https://api.github.com/users/heewoonam/events{/privacy}","received_events_url":"https://api.github.com/users/heewoonam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-06T09:09:29Z","updated_at":"2016-10-06T10:09:49Z","closed_at":null,"body":"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.\r\nHowever I can't get it to work.\r\nOn iOS 10, its stuck at connecting to the device (nothing happens), and on iOS9 the following error occurs:\r\n```\r\n2016-10-06 18:04:23.266 AppName[773:134716] initiator : Optional(<iOSDFULibrary.DFUServiceInitiator: 0x137dd6bb0>)\r\n2016-10-06 18:04:23.268 AppName[773:134716] FirmwareUpdateView ViewDidDisappear\r\n2016-10-06 18:04:23.270 AppName[773:134716] didStateChangedTo state : 0\r\n2016-10-06 18:04:23.270 AppName[773:134716] call back : didStateChangeTo\r\n2016-10-06 18:04:23.271 AppName[773:134716] *** -[iOSDFULibrary.DFUExecutor centralManager:didConnectPeripheral:]: message sent to deallocated instance 0x13919aac0\r\n```\r\nThis is the backtrace:\r\n```\r\n* thread #1: tid = 0x20e3c, 0x0000000181356bc8 CoreFoundation`___forwarding___ + 700, queue = 'com.apple.main-thread', stop reason = EXC_BREAKPOINT (code=1, subcode=0x181356bc8)\r\n  * frame #0: 0x0000000181356bc8 CoreFoundation`___forwarding___ + 700\r\n    frame #1: 0x0000000181254d1c CoreFoundation`_CF_forwarding_prep_0 + 92\r\n    frame #2: 0x00000001870c4e68 CoreBluetooth`__29-[CBXpcConnection handleMsg:]_block_invoke + 60\r\n    frame #3: 0x0000000100bf5a7c libdispatch.dylib`_dispatch_call_block_and_release + 24\r\n    frame #4: 0x0000000100bf5a3c libdispatch.dylib`_dispatch_client_callout + 16\r\n    frame #5: 0x0000000100bfb4e4 libdispatch.dylib`_dispatch_main_queue_callback_4CF + 2096\r\n    frame #6: 0x0000000181308dd8 CoreFoundation`__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12\r\n    frame #7: 0x0000000181306c40 CoreFoundation`__CFRunLoopRun + 1628\r\n    frame #8: 0x0000000181230d10 CoreFoundation`CFRunLoopRunSpecific + 384\r\n    frame #9: 0x0000000182b18088 GraphicsServices`GSEventRunModal + 180\r\n    frame #10: 0x0000000186505f70 UIKit`UIApplicationMain + 204\r\n    frame #11: 0x00000001000cda48 AppName`main + 140 at AppDelegate.swift:30\r\n    frame #12: 0x0000000180dce8b8 libdyld.dylib`start + 4\r\n```\r\n\r\nAny suggestion on the fix to this?"},"comment":{"url":"https://api.github.com/repos/NordicSemiconductor/IOS-Pods-DFU-Library/issues/comments/251920666","html_url":"https://github.com/NordicSemiconductor/IOS-Pods-DFU-Library/issues/28#issuecomment-251920666","issue_url":"https://api.github.com/repos/NordicSemiconductor/IOS-Pods-DFU-Library/issues/28","id":251920666,"user":{"login":"heewoonam","id":19640165,"avatar_url":"https://avatars.githubusercontent.com/u/19640165?v=3","gravatar_id":"","url":"https://api.github.com/users/heewoonam","html_url":"https://github.com/heewoonam","followers_url":"https://api.github.com/users/heewoonam/followers","following_url":"https://api.github.com/users/heewoonam/following{/other_user}","gists_url":"https://api.github.com/users/heewoonam/gists{/gist_id}","starred_url":"https://api.github.com/users/heewoonam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heewoonam/subscriptions","organizations_url":"https://api.github.com/users/heewoonam/orgs","repos_url":"https://api.github.com/users/heewoonam/repos","events_url":"https://api.github.com/users/heewoonam/events{/privacy}","received_events_url":"https://api.github.com/users/heewoonam/received_events","type":"User","site_admin":false},"created_at":"2016-10-06T10:09:49Z","updated_at":"2016-10-06T10:09:49Z","body":"Well, I don't see it becoming nil,\r\n```\r\n2016-10-06 19:07:52.696 AppName[871:156757] initiator : Optional(<iOSDFULibrary.DFUServiceInitiator: 0x139266620>)\r\n2016-10-06 19:07:52.699 AppName[871:156757] CentralManager start: <CBCentralManager: 0x137e6bbd0>\r\n2016-10-06 19:07:52.700 AppName[871:156757] controller: Optional(<iOSDFULibrary.DFUServiceController: 0x139183870>)\r\n2016-10-06 19:07:52.700 AppName[871:156757] FirmwareUpdateView ViewDidDisappear\r\n2016-10-06 19:07:52.702 AppName[871:156757] didStateChangedTo state : 0\r\n2016-10-06 19:07:52.702 AppName[871:156757] didStateChangedTo Centralmanager: Optional(<CBCentralManager: 0x137e6bbd0>)\r\n2016-10-06 19:07:52.703 AppName[871:156757] call back : didStateChangeTo\r\n2016-10-06 19:07:52.709 AppName[871:156757] *** -[iOSDFULibrary.DFUExecutor centralManager:didConnectPeripheral:]: message sent to deallocated instance 0x139277b70\r\n```"}}
{"actor":{"display_login":"heewoonam"}}