Error when running GetStartedSwift example project
C
Christopher Louie
started a topic
over 1 year ago
Xcode Error: 'iink/graphics/IINKIPath.h' file not found
Xcode Version: 10.2.1
Followed the https://developer.myscript.com/getting-started/ios guide and could not successfully run the project.I've read the solutions about this error on the forum but could not fix this problem. Trying to find a solution to run this example project.
Best Answer
O
Olivier @MyScript
said
over 1 year ago
Dear Christopher,
it should be located as follows for the GetStarted:
I have the IInkUIReferenceImplementation.h file dowloaded and located in IInkUIReferenceImplementation > Classes > Header > IInkUIReferenceImplementation.h.
The IInkUIReferenceImplementation.h code is attached for reference.
Christopher Louie
Xcode Error: 'iink/graphics/IINKIPath.h' file not found
Xcode Version: 10.2.1
Followed the https://developer.myscript.com/getting-started/ios guide and could not successfully run the project. I've read the solutions about this error on the forum but could not fix this problem. Trying to find a solution to run this example project.
Dear Christopher,
it should be located as follows for the GetStarted:
testmacs-Mac-mini-2:GetStarted testmac$ find . -name "IINKIPath.h"
./Pods/Headers/Private/MyScriptInteractiveInk-Runtime/iink/graphics/IINKIPath.h
./Pods/Headers/Public/MyScriptInteractiveInk-Runtime/iink/graphics/IINKIPath.h
./Pods/MyScriptInteractiveInk-Runtime/include/iink/graphics/IINKIPath.h
And for the GetStartedSwift:
testmacs-Mac-mini-2:GetStarted testmac$ cd ../GetStartedSwift/
testmacs-Mac-mini-2:GetStartedSwift testmac$ find . -name "IINKIPath.h"
./Pods/Headers/Private/MyScriptInteractiveInk-Runtime/iink/graphics/IINKIPath.h
./Pods/Headers/Public/MyScriptInteractiveInk-Runtime/iink/graphics/IINKIPath.h
./Pods/MyScriptInteractiveInk-Runtime/include/iink/graphics/IINKIPath.h
Can you please check this?
Best regards,
Olivier
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstOlivier @MyScript
Dear Christopher,
Thank you for contacting us.
This error message is likely to occur when the UIReferenceImplementation has not been downloaded properly.
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
Christopher Louie
Hi Olivier,
I have the IInkUIReferenceImplementation.h file dowloaded and located in IInkUIReferenceImplementation > Classes > Header > IInkUIReferenceImplementation.h.
The IInkUIReferenceImplementation.h code is attached for reference.
Is there anything apparently wrong with the code or file location? Also, is there anything else that could cause this issue?
Thanks for your help,
Christopher
Olivier @MyScript
Dear Christopher,
it should be located as follows for the GetStarted:
testmacs-Mac-mini-2:GetStarted testmac$ find . -name "IINKIPath.h"
./Pods/Headers/Private/MyScriptInteractiveInk-Runtime/iink/graphics/IINKIPath.h
./Pods/Headers/Public/MyScriptInteractiveInk-Runtime/iink/graphics/IINKIPath.h
./Pods/MyScriptInteractiveInk-Runtime/include/iink/graphics/IINKIPath.h
And for the GetStartedSwift:
testmacs-Mac-mini-2:GetStarted testmac$ cd ../GetStartedSwift/
testmacs-Mac-mini-2:GetStartedSwift testmac$ find . -name "IINKIPath.h"
./Pods/Headers/Private/MyScriptInteractiveInk-Runtime/iink/graphics/IINKIPath.h
./Pods/Headers/Public/MyScriptInteractiveInk-Runtime/iink/graphics/IINKIPath.h
./Pods/MyScriptInteractiveInk-Runtime/include/iink/graphics/IINKIPath.h
Can you please check this?
Best regards,
Olivier