A block-based framework for building Bluetooth 4.0 Low Energy (aka Smart or LE) iOS and OS X applications using the CoreBluetooth API. Includes Deanna and DeannaMac, applications to communicate with a TI SensorTag for iOS and OS X respectively.
Other
525
stars
128
forks
source link
DeannaMac Build: from scratch gives peripheral unrecognized selector exceptions. #102
Project settings: OS X 10.8.5 DeannaMac BaseSDK 10.9 Deployment 10.8
2014-03-22 14:48:32.926 DeannaMac[913:1203] -[CBConcretePeripheral identifier]: unrecognized selector sent to instance 0x10235a6e0 2014-03-22 14:48:32.930 DeannaMac[913:1203] An uncaught exception was raised 2014-03-22 14:48:32.931 DeannaMac[913:1203] -[CBConcretePeripheral identifier]: unrecognized selector sent to instance 0x10235a6e0 2014-03-22 14:48:32.931 DeannaMac[913:1203](0 CoreFoundation 0x00007fff8d78fb06 exceptionPreprocess + 198 1 libobjc.A.dylib 0x00007fff9159a3f0 objc_exception_throw + 43 2 CoreFoundation 0x00007fff8d82640a -[NSObject%28NSObject%29 doesNotRecognizeSelector:] + 186 3 CoreFoundation 0x00007fff8d77e02e __forwarding + 414 4 CoreFoundation 0x00007fff8d77de18 _CF_forwarding_prep_0 + 232 5 DeannaMac 0x0000000100006831 -[YMSCBCentralManager centralManager:didDiscoverPeripheral:advertisementData:RSSI:] + 225 6 CoreBluetooth 0x00007fff94426c00 -[CBConcreteCentralManager handlePeripheralDiscovered:] + 1047 7 libxpc.dylib 0x00007fff89dbf4a2 _xpc_connection_recv_message + 699 8 libxpc.dylib 0x00007fff89dbf16d _xpc_connection_wakeup_recv + 165 9 libxpc.dylib 0x00007fff89dbd8b4 _xpc_connection_wakeup2 + 1799 10 libxpc.dylib 0x00007fff89dbd17c _xpc_connection_wakeup + 145 11 libdispatch.dylib 0x00007fff8e1b70b6 _dispatch_client_callout + 8 12 libdispatch.dylib 0x00007fff8e1b929b _dispatch_source_invoke + 691 13 libdispatch.dylib 0x00007fff8e1b8305 _dispatch_queue_invoke + 72 14 libdispatch.dylib 0x00007fff8e1b8448 _dispatch_queue_drain + 180 15 libdispatch.dylib 0x00007fff8e1b82f1 _dispatch_queue_invoke + 52 16 libdispatch.dylib 0x00007fff8e1b8448 _dispatch_queue_drain + 180 17 libdispatch.dylib 0x00007fff8e1b82f1 _dispatch_queue_invoke + 52 18 libdispatch.dylib 0x00007fff8e1b81c3 _dispatch_worker_thread2 + 249 19 libsystem_c.dylib 0x00007fff8d645cdb _pthread_wqthread + 404 20 libsystem_c.dylib 0x00007fff8d630191 start_wqthread + 13) 2014-03-22 14:48:32.942 DeannaMac[913:1203] * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[CBConcretePeripheral identifier]: unrecognized selector sent to instance 0x10235a6e0' * First throw call stack: ( 0 CoreFoundation 0x00007fff8d78fb06 exceptionPreprocess + 198 1 libobjc.A.dylib 0x00007fff9159a3f0 objc_exception_throw + 43 2 CoreFoundation 0x00007fff8d82640a -[NSObject(NSObject) doesNotRecognizeSelector:] + 186 3 CoreFoundation 0x00007fff8d77e02e __forwarding + 414 4 CoreFoundation 0x00007fff8d77de18 _CF_forwarding_prep_0 + 232 5 DeannaMac 0x0000000100006831 -[YMSCBCentralManager centralManager:didDiscoverPeripheral:advertisementData:RSSI:] + 225 6 CoreBluetooth 0x00007fff94426c00 -[CBConcreteCentralManager handlePeripheralDiscovered:] + 1047 7 libxpc.dylib 0x00007fff89dbf4a2 _xpc_connection_recv_message + 699 8 libxpc.dylib 0x00007fff89dbf16d _xpc_connection_wakeup_recv + 165 9 libxpc.dylib 0x00007fff89dbd8b4 _xpc_connection_wakeup2 + 1799 10 libxpc.dylib 0x00007fff89dbd17c _xpc_connection_wakeup + 145 11 libdispatch.dylib 0x00007fff8e1b70b6 _dispatch_client_callout + 8 12 libdispatch.dylib 0x00007fff8e1b929b _dispatch_source_invoke + 691 13 libdispatch.dylib 0x00007fff8e1b8305 _dispatch_queue_invoke + 72 14 libdispatch.dylib 0x00007fff8e1b8448 _dispatch_queue_drain + 180 15 libdispatch.dylib 0x00007fff8e1b82f1 _dispatch_queue_invoke + 52 16 libdispatch.dylib 0x00007fff8e1b8448 _dispatch_queue_drain + 180 17 libdispatch.dylib 0x00007fff8e1b82f1 _dispatch_queue_invoke + 52 18 libdispatch.dylib 0x00007fff8e1b81c3 _dispatch_worker_thread2 + 249 19 libsystem_c.dylib 0x00007fff8d645cdb _pthread_wqthread + 404 20 libsystem_c.dylib 0x00007fff8d630191 start_wqthread + 13 ) libc++abi.dylib: terminate called throwing an exception (lldb)