nickoneill / PermissionScope

Intelligent iOS permissions UI and unified API
MIT License
4.85k stars 507 forks source link

Objective-c Project ~ PermissionScope Error CBPeripheralManagerDelegate #221

Closed jose-roberto-abreu closed 7 years ago

jose-roberto-abreu commented 7 years ago

I'm unable to build my project, I'm receiving an error in PermissionScope (interface) code: "CBPeripheralManagerDelegate protocol not found".

I'm using an Objective-c based project. I added the library through Cocoapods: "pod PermissionScope". (version 1.1.1) Just in case, also add the CoreBluetooth framework to my project (although I'm not using, just to check). Try cleaning and building, but still the issue persist.

Thanks in advance

jose-roberto-abreu commented 7 years ago

The issue was a category that I created for PermissionScope (to some extra utilities). Just need to import CoreBluetooth in the Category header.