Closed mryechkin closed 7 years ago
Good morning,
may I ask how you installed the Wikitude Cordova plugin, exactly?
We currently have an issue with the 7.0.0 release of which I gave a short description of here.
Daniel
Hi Daniel,
I installed it they way it's suggested in Step 5 of "Create empty app":
cordova plugin add https://github.com/Wikitude/wikitude-cordova-plugin.git
So if I understand correctly, that issue you described would apply to me as well? If I clone the plugin repo and add the plugin using cordova add plugin
, do I just specify the path to the local directory as a parameter there?
Thanks very much for your help!
Yes. cordova plugin add <some_local_path>
is what you want to do.
I would expect cordova plugin add https://github.com/Wikitude/wikitude-cordova-plugin.git
to produce a big red error message though.
If there was no such error message; could you check the file size of src/ios/WikitudeSDK.framework/WikitudeSDK file?
Daniel
There was no error message, it seemed to add just fine (this was last Thursday, July 13th). But looking at that file size in my project folder it definitely doesn't look right, it's only 134 bytes.
Also I just noticed that the plugin shows up twice in my package.json for some reason:
"com.wikitude.phonegap.WikitudePlugin": "https://github.com/Wikitude/wikitude-cordova-plugin.git",
"com.wikitude.phonegap.wikitudeplugin": "git+https://github.com/Wikitude/wikitude-cordova-plugin.git"
Again, this is from simply following the instructions for "Create empty app", I have not modified anything else, just trying to get it running for the first time.
I will try starting over from scratch and add plugin using the method you describe, and will report back.
Thanks
I was able to resolve the issue.
It looks like I needed to install git-lfs and then do git lfs pull
after cloning the plugin repo to get the correct files. After that, adding the plugin to my project using cordova plugin add <local_path_to_plugin_repo>
worked and I was able to build and run it.
Thanks for your help Daniel!
Operating System: macOS Sierra (10.12.4) Cordova: 7.0.1 Xcode: 9.0 Beta (9M136h)
Hello,
I'm going through the tutorial for setting up an empty Cordova app with the plugin, and am encountering this error after adding the Wikitude Cordova plugin and trying to build it:
The project builds fine with
cordova build ios
before including the plugin, so I know it's not Cordova itself or Xcode. I also didn't have this issue before when using the older version Wikitude Cordova plugin (for SDK (6.1) a week ago.Any help would be greatly appreciated, thank you