Start a new topic

Cordova Plugin Error

We tried several times to use the SDK wikitude. However, once we add the plugin to our app, we have the following error message which prevent us to go further. 

Failed to install 'com.wikitude.phonegap.WikitudePlugin': Error: Hook failed with error code 127: /mnt/c/Users/dansl/Documents/Artech/ArtechApp/plugins/com.wikitude.phonegap.WikitudePlugin/scripts/configure_wikitude_sdk_framework.sh
    at /usr/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:239:23
    at _rejected (/usr/lib/node_modules/cordova/node_modules/q/q.js:864:24)
    at /usr/lib/node_modules/cordova/node_modules/q/q.js:890:30
    at Promise.when (/usr/lib/node_modules/cordova/node_modules/q/q.js:1142:31)
    at Promise.promise.promiseDispatch (/usr/lib/node_modules/cordova/node_modules/q/q.js:808:41)
    at /usr/lib/node_modules/cordova/node_modules/q/q.js:624:44
    at runSingle (/usr/lib/node_modules/cordova/node_modules/q/q.js:137:13)
    at flush (/usr/lib/node_modules/cordova/node_modules/q/q.js:125:13)
    at _combinedTickCallback (internal/process/next_tick.js:73:7)
    at process._tickCallback (internal/process/next_tick.js:104:9)

Could please help up fixing this matter? 
1 Comment

Hello,



execution the configure_wikitude_sdk_framework.sh script seems to be failing for you. I'm afraid you will need to run this in order to use our plugin, we can't simply remove the hook as a workaround.


Having had a look at the script, I can only image xcrun not being available on your machine, everything else should be plain shell commands.


Would you mind opening your terminal application and running xcrun to check whether the executable can be found.

(This will just print some help text if run without arguments if it happens to be available)



- Daniel


Login or Signup to post a comment