This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Xcode invalidate the ble app because of UDID is used somewhere in the code

I used nRF_Demo_Utility ios app and WFConnector.framework in a sample testing app im building. And when I tried to archive it using xcode it invalidates it with a error message about UDID (apps are not permitted to access the udid and must not use the uniqueidentifier method of uidevice).

I found below link which describes this error. stackoverflow.com/.../apps-are-not-permitted-to-access-the-udid-and-must-not-use-the-uniqueidentifier

Did anyone know why is this happening?

  • Not really a Nordic question at all. Apple deprecated the use of UDID back in iOS5 and since iOS7 disallowed apps from using it completely. There's plenty of documentation on the Apple site about the proper way to get device identifiers depending on what exactly you're trying to do. identifierForVendor is the most direct replacement.

    If it's in your code, change it, if it's in WFConnector (whatever that is) get a newer version from wherever you downloaded that from (5 seconds on google tells me the author removed that call in V 3.0 which was ages ago).

Related