I installed everything exactly as it was described on your Get Started Page. Also all pods are installed and there is a Pods folder with all headers and so on in my Directory. Nevertheless I can't compile neither the Swift or C version of the Code because the header 'iink/IINKIRenderTarget.h' couldn't be found. I tried to change the Path in the Pods-GetStartedSwift.release.xcodeconfig file to the absolute path to my pods folder but it didn'thelp.
Thank you for help.
And again I want to stress that I DID install everything correctly
alexanderhaaswurst@gmail.com
I installed everything exactly as it was described on your Get Started Page. Also all pods are installed and there is a Pods folder with all headers and so on in my Directory. Nevertheless I can't compile neither the Swift or C version of the Code because the header 'iink/IINKIRenderTarget.h' couldn't be found. I tried to change the Path in the Pods-GetStartedSwift.release.xcodeconfig file to the absolute path to my pods folder but it didn't help.
Thank you for help.
And again I want to stress that I DID install everything correctly
Dear Alexander,
here is the way I proceeded on MAC.
For the GetStartedSwift:
testmacs-Mac-mini-2:~ testmac$ cd Desktop/
testmacs-Mac-mini-2:Desktop testmac$ mkdir iink132_28052019
testmacs-Mac-mini-2:Desktop testmac$ cd iink132_28052019/
testmacs-Mac-mini-2:iink132_28052019 testmac$ git clone https://github.com/MyScript/interactive-ink-examples-ios.git
Cloning into 'interactive-ink-examples-ios'...
remote: Enumerating objects: 51, done.
remote: Counting objects: 100% (51/51), done.
remote: Compressing objects: 100% (31/31), done.
remote: Total 722 (delta 24), reused 38 (delta 20), pack-reused 671
Receiving objects: 100% (722/722), 489.05 KiB | 1.10 MiB/s, done.
Resolving deltas: 100% (407/407), done.
testmacs-Mac-mini-2:iink132_28052019 testmac$ ls
interactive-ink-examples-ios
testmacs-Mac-mini-2:iink132_28052019 testmac$ cd interactive-ink-examples-ios/Examples/GetStartedSwift/
testmacs-Mac-mini-2:GetStartedSwift testmac$ pod install
Analyzing dependencies
Fetching podspec for `MyScriptInteractiveInk-UIReferenceImplementation` from `../..`
Downloading dependencies
Installing MyScriptInteractiveInk-Runtime (1.3.2)
Using MyScriptInteractiveInk-UIReferenceImplementation (1.3.2)
Generating Pods project
Integrating client project
Sending stats
Pod installation complete! There is 1 dependency from the Podfile and 2 total pods installed.
testmacs-Mac-mini-2:GetStartedSwift testmac$ ls
GetStartedSwift GetStartedSwift.xcworkspace Podfile.lock retrieve_recognition-assets.sh
GetStartedSwift.xcodeproj Podfile Pods
testmacs-Mac-mini-2:GetStartedSwift testmac$ find . -name "IINKIRenderTarget.h"
./Pods/Headers/Private/MyScriptInteractiveInk-Runtime/iink/IINKIRenderTarget.h
./Pods/Headers/Public/MyScriptInteractiveInk-Runtime/iink/IINKIRenderTarget.h
./Pods/MyScriptInteractiveInk-Runtime/include/iink/IINKIRenderTarget.h
And for the GetStarted (objc):
testmacs-Mac-mini-2:GetStartedSwift testmac$ cd ../GetStarted
testmacs-Mac-mini-2:GetStarted testmac$ ls
GetStarted GetStarted.xcworkspace Podfile.lock
GetStarted.xcodeproj Podfile retrieve_recognition-assets.sh
testmacs-Mac-mini-2:GetStarted testmac$ pod install
Analyzing dependencies
Fetching podspec for `MyScriptInteractiveInk-UIReferenceImplementation` from `../..`
Downloading dependencies
Installing MyScriptInteractiveInk-Runtime (1.3.2)
Using MyScriptInteractiveInk-UIReferenceImplementation (1.3.2)
Generating Pods project
Integrating client project
Sending stats
Pod installation complete! There is 1 dependency from the Podfile and 2 total pods installed.
testmacs-Mac-mini-2:GetStarted testmac$ find . -name "IINKIRenderTarget.h"
./Pods/Headers/Private/MyScriptInteractiveInk-Runtime/iink/IINKIRenderTarget.h
./Pods/Headers/Public/MyScriptInteractiveInk-Runtime/iink/IINKIRenderTarget.h
./Pods/MyScriptInteractiveInk-Runtime/include/iink/IINKIRenderTarget.h
Can you please proceed the same way, and let me know where it fails?
Best regards,
Olivier
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstOlivier @MyScript
Dear Alexander,
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
alexanderhaaswurst@gmail.com
I said that I installed it as it was instructed on the website, because I knew that you would give me this default answer.
Olivier @MyScript
Dear Alexander,
I am sorry to disapoint you, but please try again from scratch...
Best regards,
Olivier
alexanderhaaswurst@gmail.com
I did install it again but it didn't resolve the error. Apparently it is a common error Xcode can't find pod header files
Olivier @MyScript
Dear Alexander,
I just tried again and it worked immediately. Are you using the cocoapod 1.5 ?
Are you opening the xcworkspace and not the xcodeproj?
Best regards,
Olivier
alexanderhaaswurst@gmail.com
yes I am opening the workspace and my cocoa pod version 1.7.0
alexanderhaaswurst@gmail.com
But with 1.5.0 it doesn't work to
Olivier @MyScript
Dear Alexander,
here is the way I proceeded on MAC.
For the GetStartedSwift:
testmacs-Mac-mini-2:~ testmac$ cd Desktop/
testmacs-Mac-mini-2:Desktop testmac$ mkdir iink132_28052019
testmacs-Mac-mini-2:Desktop testmac$ cd iink132_28052019/
testmacs-Mac-mini-2:iink132_28052019 testmac$ git clone https://github.com/MyScript/interactive-ink-examples-ios.git
Cloning into 'interactive-ink-examples-ios'...
remote: Enumerating objects: 51, done.
remote: Counting objects: 100% (51/51), done.
remote: Compressing objects: 100% (31/31), done.
remote: Total 722 (delta 24), reused 38 (delta 20), pack-reused 671
Receiving objects: 100% (722/722), 489.05 KiB | 1.10 MiB/s, done.
Resolving deltas: 100% (407/407), done.
testmacs-Mac-mini-2:iink132_28052019 testmac$ ls
interactive-ink-examples-ios
testmacs-Mac-mini-2:iink132_28052019 testmac$ cd interactive-ink-examples-ios/Examples/GetStartedSwift/
testmacs-Mac-mini-2:GetStartedSwift testmac$ pod install
Analyzing dependencies
Fetching podspec for `MyScriptInteractiveInk-UIReferenceImplementation` from `../..`
Downloading dependencies
Installing MyScriptInteractiveInk-Runtime (1.3.2)
Using MyScriptInteractiveInk-UIReferenceImplementation (1.3.2)
Generating Pods project
Integrating client project
Sending stats
Pod installation complete! There is 1 dependency from the Podfile and 2 total pods installed.
testmacs-Mac-mini-2:GetStartedSwift testmac$ ls
GetStartedSwift GetStartedSwift.xcworkspace Podfile.lock retrieve_recognition-assets.sh
GetStartedSwift.xcodeproj Podfile Pods
testmacs-Mac-mini-2:GetStartedSwift testmac$ find . -name "IINKIRenderTarget.h"
./Pods/Headers/Private/MyScriptInteractiveInk-Runtime/iink/IINKIRenderTarget.h
./Pods/Headers/Public/MyScriptInteractiveInk-Runtime/iink/IINKIRenderTarget.h
./Pods/MyScriptInteractiveInk-Runtime/include/iink/IINKIRenderTarget.h
And for the GetStarted (objc):
testmacs-Mac-mini-2:GetStartedSwift testmac$ cd ../GetStarted
testmacs-Mac-mini-2:GetStarted testmac$ ls
GetStarted GetStarted.xcworkspace Podfile.lock
GetStarted.xcodeproj Podfile retrieve_recognition-assets.sh
testmacs-Mac-mini-2:GetStarted testmac$ pod install
Analyzing dependencies
Fetching podspec for `MyScriptInteractiveInk-UIReferenceImplementation` from `../..`
Downloading dependencies
Installing MyScriptInteractiveInk-Runtime (1.3.2)
Using MyScriptInteractiveInk-UIReferenceImplementation (1.3.2)
Generating Pods project
Integrating client project
Sending stats
Pod installation complete! There is 1 dependency from the Podfile and 2 total pods installed.
testmacs-Mac-mini-2:GetStarted testmac$ find . -name "IINKIRenderTarget.h"
./Pods/Headers/Private/MyScriptInteractiveInk-Runtime/iink/IINKIRenderTarget.h
./Pods/Headers/Public/MyScriptInteractiveInk-Runtime/iink/IINKIRenderTarget.h
./Pods/MyScriptInteractiveInk-Runtime/include/iink/IINKIRenderTarget.h
Can you please proceed the same way, and let me know where it fails?
Best regards,
Olivier
alexanderhaaswurst@gmail.com
Olivier @MyScript
Dear Alexander,
I am using:
-MACOSX 10.13.6
-cocoapod 1.5.3
-xCode 10.1
With this, it works out of the box.
Best regards,
Olivier