Convert CBUUID to NSNumber in swift

How Can I convert a CBUUID to UINT16? I want to procure the device information in the advertisement data as UINT16. I am getting the error Could not cast value of type ‘CBUUID’ (0x1d2715e68) to ‘NSNumber’ (0x1d25c9db0). 2019-12-04 14:17:18.731697-0500 ProjectName[717:125723] Could not cast value of type ‘CBUUID’ (0x1d2715e68) to ‘NSNumber’ (0x1d25c9db0). My Advertisement Data in…

Details

Please indicate the preferred endpoint configuration section by name

Before some one commenting that it is a duplicate, please note that i have gone through the suggestions given in internet. Scenario: I am having a web api call and have only one end point in the webconfig` <client> <endpoint address=”http://localhost/RegistrationService/RegistrationService.svc” binding=”basicHttpBinding” bindingConfiguration=”RegistrationService” contract=”RegistrationService.IRegistrationService” name=”RegistrationService” /> <endpoint address=”http://localhost/ElectronicCustomerFileService/ElectronicCustomerFileService.svc” binding=”basicHttpBinding” bindingConfiguration=”ElectronicCustomerFileService” contract=”ElectronicCustomerFileService.IElectronicCustomerFileService” name=”ElectronicCustomerFileService” /> </client> `…

Details