Reputation: 660
I'm relatively new to iOS development. I'm not sure what to do about resolving the following errors that I believe are due to referencing a bluetooth library. What can I do to debug/fix this?
Undefined symbols for architecture armv7: "_CBCentralManagerScanOptionAllowDuplicatesKey", referenced from: _nclSStartScan in libNCLiOS.a(nclCb.o) "_CBAdvertisementDataManufacturerDataKey", referenced from: -[Boss centralManager:didDiscoverPeripheral:advertisementData:RSSI:] in libNCLiOS.a(nclCb.o) "_OBJC_CLASS_$_CBUUID", referenced from: objc-class-ref in libNCLiOS.a(nclCb.o) "_OBJC_CLASS_$_CBCentralManager", referenced from: objc-class-ref in libNCLiOS.a(nclCb.o) ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Upvotes: 2
Views: 2194
Reputation: 172
I haven't done Bluetooth related development on IOS but the messages might be related to the missing Bluetooth framework in the project files. Have you added them ? IOBluetooth.framework IOBluetoothUI.framework
Upvotes: 7