General questions

Answered

<module-includes>:1:9: note: in file included from <module-includes>:1:

error: 'iink/graphics/IINKIPath.h' file not found

<unknown>:0: error: could not build Objective-C module 'MyScriptInteractiveInk_Runtime'


Best Answer

Dear Li Bow,


In that case, the easier is that you create your project without downloading the MyScriptInteractiveInk-UIReferenceImplementation via podspec.


You can proceed as follows:

-Download the interactive-ink-examples-ios: git clone https://github.com/MyScript/interactive-ink-examples-ios.git cd interactive-ink-examples-ios

-cd Examples/GetStarted

-pod install : this will fetch the iink SDK libraries.

=>In your custom project, you can then manually add the iink SDK libraries and UIReferenceImplementation.

Best regards,

Olivier


Dear Li Bow,


thank you for contacting us.


Currently, when you have any question feel free to use the search engine of our forum:

-https://developer-support.myscript.com/support/discussions/topics/16000026430

-https://developer-support.myscript.com/support/discussions/topics/16000028091


Such issue usually occur when the the MyScriptInteractiveInk-UIReferenceImplementation was not properly  downloaded or properly deployed into the project, resulting in the  IINKIPath.h file not properly found. You should ensure you run the "pod Install", as indicated in our documentation: https://developer.myscript.com/docs/interactive-ink/1.3/ios/fundamentals/get-started/#playing-with-the-get-started-example


Best regards,


Olivier

Hi Olivier,

Thanks for your reply.

The steps for using The example projects are very clear and I am able to run them without any issues using your documentation.

But  In the project podfile file due to the need to set user_frameworks!

Both forums have been looked at, but problems remain....the pod is a dynamic pod while other pods which I am using in my project are static pods due to which I am not able to accomodate both types of pods in my podfile...If I use 'use_modular_headers' I can only access the dynamic pods and if I use 'use_frameworks' then I can only access the static pods but both can not be accessed at the same time....Please provide a solution for the same so that I can accomodate both types of pods in my podfile or if there's any other way apart from pods through which I can use the code for mathPad in my project.

User_frameworks must be used in our project!

I've set platform :ios, '9.1'

image

Answer

Dear Li Bow,


In that case, the easier is that you create your project without downloading the MyScriptInteractiveInk-UIReferenceImplementation via podspec.


You can proceed as follows:

-Download the interactive-ink-examples-ios: git clone https://github.com/MyScript/interactive-ink-examples-ios.git cd interactive-ink-examples-ios

-cd Examples/GetStarted

-pod install : this will fetch the iink SDK libraries.

=>In your custom project, you can then manually add the iink SDK libraries and UIReferenceImplementation.

Best regards,

Olivier

Dear Olivier,

Manual import has been successful, but an error was reported during the call:

-[IINKEditor setPart:]::94 FontMetricsProvider required

-[IINKEditor setPart:]::94 FontMetricsProvider required

Best regards

[IINKContentPackage getPartAt:error:]::120 part index is out of range

Dear Li Bow,


to answer your questions:

-[IINKEditor setPart:]::94 FontMetricsProvider required

Currently, you are getting this error because no FontMetricsProvider was attached to your editor. You shall proceed as in our samples: https://github.com/MyScript/interactive-ink-examples-ios/blob/master/IInkUIReferenceImplementation/Classes/ViewControllers/EditorViewController.mm#L112


You can also refer to our API documentation: https://developer.myscript.com/refguides/interactive-ink/android/1.4/com/myscript/iink/Editor.html#setFontMetricsProvider-com.myscript.iink.text.IFontMetricsProvider-


[IINKContentPackage getPartAt:error:]::120 part index is out of range

>>You shall also refer to our API documentation: https://developer.myscript.com/refguides/interactive-ink/android/1.4/com/myscript/iink/ContentPackage.html#getPart-int-

The error message indicates that you are trying to get a part whose number outside of the range. You can call the getPartCount function to know the number of parts: https://developer.myscript.com/refguides/interactive-ink/android/1.4/com/myscript/iink/ContentPackage.html#getPartCount--


Best regards,


Olivier

Login or Signup to post a comment