【发布时间】:2015-12-10 07:05:28
【问题描述】:
我有一个使用 CoreBluetooth 的应用程序。当我选择要连接的蓝牙设备时,我收到带有以下回溯的 lldb 错误:
* thread #1: tid = 0x2818f, 0x000000018207dbd0 libobjc.A.dylib`objc_msgSend + 16, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x10)
frame #0: 0x000000018207dbd0 libobjc.A.dylib`objc_msgSend + 16
frame #1: 0x00000001882e8ee0 CoreBluetooth`__29-[CBXpcConnection handleMsg:]_block_invoke + 60
frame #2: 0x0000000101191bf0 libdispatch.dylib`_dispatch_call_block_and_release + 24
frame #3: 0x0000000101191bb0 libdispatch.dylib`_dispatch_client_callout + 16
frame #4: 0x0000000101197658 libdispatch.dylib`_dispatch_main_queue_callback_4CF + 2096
frame #5: 0x00000001829b4bb0 CoreFoundation`__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
frame #6: 0x00000001829b2a18 CoreFoundation`__CFRunLoopRun + 1628
frame #7: 0x00000001828e1680 CoreFoundation`CFRunLoopRunSpecific + 384
frame #8: 0x0000000183df0088 GraphicsServices`GSEventRunModal + 180
frame #9: 0x0000000187758d90 UIKit`UIApplicationMain + 204
* frame #10: 0x0000000100039adc BluetoothLE`main + 136 at AppDelegate.swift:13
frame #11: 0x00000001824828b8 libdyld.dylib`start + 4
奇怪的是我只在我的 iPad mini 4 上得到这个,而不是在我的 iPhone 6 上......
谁能帮我解决这个问题?
提前致谢
【问题讨论】:
标签: ios xcode core-bluetooth lldb