iink SDK on Device

"no such engine" attempting to instantiate engine (Swift)

I've started a new project and am trying to integrate the IInk SDK. I've created an appropriate certificate and added it to my project.  When I attempt to create an IINKEngine object, the constructor returns nil while the console in Xcode displays the error:

Error: NO_SUCH_ENGINE

There's nothing special about the code:

  

let certificateData = Data(bytes: myCertificate.bytes, count:myCertificate.length)

let engine = IINKEngine(certificate: certificateData)!

 

 


Found the answer in another forum post.  The link order of MyScript libraries is important.  Reordering them according to this post resolved the issue.

Dear David,


thank you for the update.


Indeed, on iOS, the order of the libraries shall be carefully followed, otherwise the engine will not be created.


Best regards,


Olivier