iink SDK on Device

Answered

Invalid Certificate on iOS Swift app

Hi,

I am getting "Invalid Certificate" error when I try to integrate MyScript SDK in my app, even though I have created and used a certificate with my app's bundle identifier. It's also showing as 1 license consumed for my app but still the app crashes after showing that error.


Best Answer

Dear Vaibhav,


thank ypu for the update.


Indeed, the order of the libraries is of importance.


Best regards,


Olivier


Dear Vaibhav,


in your console, you have the message "Mismatch between certificate and application...".


Just ensure you create a new certificate with the proper "bundle identifier" and re-build your application accordingly: https://developer-support.myscript.com/support/discussions/topics/16000024845


Best regards,


Olivier

Hi Olivier,


Thanks for your quick reply.


I have created a new app with my bundle ID and tried using its certificate, but I still get the same result. If you can see my license consumption, you’d see that I have used one license with new app. However, the app still shows same error. 

The errors on the console were from before I created the new app and certificate.

Regards,

Vaibhav

Never mind, I found the answer from this link: https://developer-support.myscript.com/support/discussions/topics/16000023725

It was the order of added libraries!

Answer

Dear Vaibhav,


thank ypu for the update.


Indeed, the order of the libraries is of importance.


Best regards,


Olivier