iink SDK on Device

Answered

error: could not build Objective-C module 'MyScriptInteractiveInk_Runtime'

Hello!

use_frameworks! needed for swift projects , manual integration MyScriptInteractiveInk_Runtime download there? Or can the manual integration process be specific?

image

image



Best Answer

Dear 磊 胡,

If I understand well, you would like to use the iink SDK in batch mode, sending the ink as a "series of events": https://developer.myscript.com/docs/interactive-ink/1.4/ios/fundamentals/editing/#series-of-events

In that case, in order to get the result, you shall ensure the editor is in "idle" state to export the result, which is probably not the case while using the contentChanged (you shall indeed remind the ink recognition is a demanding process).

You can also refer to our "error management" page that gives some guidelines: https://developer.myscript.com/docs/interactive-ink/1.4/ios/fundamentals/error-management/

We do not have a full Objc sample that shows how you can use the iink SDK in batch mode in but you can find a Swift sample at the following link: the iink https://myscript.filecamp.com/s/k4eyDOQNnemxh7Bd/fo

An Android sample is also available on our github: https://github.com/MyScript/interactive-ink-additional-examples-android/tree/master/java/samples/batch-mode

Proceeding this way, you shall be able to use the iink SDK in batch mode.

Best regards,

Olivier


Dear 磊 胡,

thank you for your question.

Currently, the only way to use our iink SDK with cocoapods is that you do not have the use_frameworks instruction.

The question is rather why the other modules need it? Indeed, since the 1.5 release of cocoapods, "use_frameworks" shall no longer be used. Instead please use modular_headers: https://developer-support.myscript.com/support/discussions/topics/16000026236

Best regards,

Olivier

Dear Olivier,

Thank you for your reply.

If the project does not use the drawing related program, only uses the path identification. Can the UI operation part not be integrated?

You just need the identification function

Best regards,

磊胡

Dear Olivier,

Thank you for your reply.

Using the data in the demo, the recognition result is always ["mainblock"], This is the problem there

image

image

image


Answer

Dear 磊 胡,

If I understand well, you would like to use the iink SDK in batch mode, sending the ink as a "series of events": https://developer.myscript.com/docs/interactive-ink/1.4/ios/fundamentals/editing/#series-of-events

In that case, in order to get the result, you shall ensure the editor is in "idle" state to export the result, which is probably not the case while using the contentChanged (you shall indeed remind the ink recognition is a demanding process).

You can also refer to our "error management" page that gives some guidelines: https://developer.myscript.com/docs/interactive-ink/1.4/ios/fundamentals/error-management/

We do not have a full Objc sample that shows how you can use the iink SDK in batch mode in but you can find a Swift sample at the following link: the iink https://myscript.filecamp.com/s/k4eyDOQNnemxh7Bd/fo

An Android sample is also available on our github: https://github.com/MyScript/interactive-ink-additional-examples-android/tree/master/java/samples/batch-mode

Proceeding this way, you shall be able to use the iink SDK in batch mode.

Best regards,

Olivier