Need help?

Please type a word or phrase into the box below to search all our FAQ and support articles.

iOS: Terminating app due to uncaught exception 'MBInvalidLicenseResourceException'

Follow

Terminating app due to uncaught exception indicates that you didn't correctly set up the license key file.

There is a couple option that you can explore:

1) Make sure that you downloaded correct license key file from the dashboard.

2) Extension of the license key should be included in the viewDidLoad function: 

MBMicroblinkSDK.sharedInstance().setLicenseResource("licensee", withExtension: "txt", inSubdirectory: "License", for: Bundle.main);

3) License key files come in .mblic extension, so please make sure that you properly set extension or file type (you can use .mblic or .txt).

4) Please make sure that you include .mblic file into Targets - Build phase - Copy bundle resources

Screen_Shot_2018-09-19_at_10.10.43.png 

 

BlinkID-sample-Swift[000:0003347] *** Terminating app due to uncaught exception 'MBInvalidLicenseResourceException', reason: 'License file "license" does not exist in specified bundle'

*** First throw call stack:

(0x1853dad8c 0x1845945ec 0x10533aad8 0x104d850b0 0x18eff5e64 0x18eff5a50 0x18efe6ce4 0x18efe5b18 0x18f07362c 0x18efe9274 0x18efb65e0 0x18f5e6b1c 0x18efb5dd0 0x18efb5c6c 0x18efb4afc 0x18fc4a84c 0x18efb41ec 0x18fa2fac8 0x18fb7dbf8 0x18efb3c0c 0x18efb35a8 0x18efb05e0 0x18efb0330 0x187bdc470 0x187be4d6c 0x10663119c 0x10663d7cc 0x187c10878 0x187c1051c 0x187c10ab8 0x185383404 0x185382c2c 0x18538079c 0x1852a0da8 0x187286020 0x18f2c0758 0x104d8b2c4 0x184d31fc0)

libc++abi.dylib: terminating with uncaught exception of type NSException

(lldb)

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments