Add Estimote to my framework in Swift

Hello, I am creating a framework in Swift where I want to add Estimote, but at the moment of initializing it from my example app, print the following error: [CoreBluetooth] XPC connection invalid.
Only happens when classes are in my library.

Code in Framework:

public class ProximityFramework: NearestBeaconManagerDelegate {
    
    private let beaconContentFactory: BeaconContentFactory
    private let nearestBeaconManager: NearestBeaconManager
  
    public init(){
        let beaconRegionsO = [
            BeaconID(UUIDString: "B9407F30-F5F8-466E-AFF9-25436B57FE6D", major: 1, minor: 1)
        ]
        let beaconRegions = beaconRegionsO.map { $0.asBeaconRegion }
        self.nearestBeaconManager = NearestBeaconManager(beaconRegions: beaconRegions)
        self.beaconContentFactory = CachingContentFactory(beaconContentFactory: BeaconDetailsCloudFactory())
        self.nearestBeaconManager.delegate = self
    }
    
    public func startContentUpdates() {
        self.nearestBeaconManager.startNearestBeaconUpdates()
    }
    
    public func stopContentUpdates() {
        self.nearestBeaconManager.stopNearestBeaconUpdates()
    }
    
     func nearestBeaconManager(_ nearestBeaconManager: NearestBeaconManager, didUpdateNearestBeaconID nearestBeaconID: BeaconID?) {
        if let nearestBeaconID = nearestBeaconID {
            self.beaconContentFactory.requestContent(for: nearestBeaconID) { (proximityContent) in
                print("Connetion")
            }
        } else {
            print("No found")
        }
    }
}

Code in App:

class ViewController: UIViewController {
    override func viewDidLoad() {
        super.viewDidLoad()
        
        let proximity = ProximityFramework()
        proximity.startContentUpdates()
        
    }

You can see this video, maybe it shows how to do!
Getting Started with iBeacon: A Swift Tutorial -