Framework link issue

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.

Replies

Maybe the custom framework used it?

go back and link the custom framework and unlink the corebuetooth. See if that works. Then unlink the custom framework and see if that, again does not work. If so, the custom framework must contain the necessary methods.