I am using CoreBluetooth API in my project but never linked the CoreBluetooth framework in the target. It was working fine(even without linking the CoreBluetooth framework ) until I remove the custom framework. I started seeing the following compilation errors after removing the custom framework.
_OBJC_CLASS_$_CBCentralManager", referenced from:
"_CBCentralManagerOptionShowPowerAlertKey", referenced from:
"_CBCentralManagerScanOptionAllowDuplicatesKey", referenced from:
"_CBAdvertisementDataLocalNameKey", referenced from:
Compilation issues got resolved after linking CoreBluetooth framework. But I wanted to understand how come it worked earlier without linking the CoreBluetooth framework.