Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when building with phonegap #230

Open
stagerapcom opened this issue Dec 10, 2016 · 0 comments
Open

Error when building with phonegap #230

stagerapcom opened this issue Dec 10, 2016 · 0 comments

Comments

@stagerapcom
Copy link

Hello, This plugin is failing when trying to build with phonegap by putting the github link or phonegap link in my config.xml

it is giving me this error: plugin unsupported: com.tokbox.cordova.opentok @ 1.0.3

There is also a log for the IOS build here:

Error - Plugin error (you probably need to remove plugin files from your app): //github.com/songz/cordova-plugin-opentok/": Fetching plugin "https://github.com/songz/cordova-plugin-opentok/" via git clone Using shallow clone Repository "https://github.com/songz/cordova-plugin-opentok/" checked out to git ref "master" at "9f863b6". Installing "com.tokbox.cordova.opentok" at "1.0.3" for ios Error during processing of action! Attempting to revert... Failed to install 'com.tokbox.cordova.opentok':CordovaError: Uh oh! Cannot find framework "/private/tmp/gimlet/70271353716540/2335649/project/cordova/plugins/com.tokbox.cordova.op entok/src/ios/OpenTok.framework" for plugin com.tokbox.cordova.opentok in iOS platform at install (/private/tmp/gimlet/70271353716540/2335649/project/cordova/lib/plugman/pluginHandlers.js :82:48) at Object.process (/private/tmp/gimlet/70271353716540/2335649/project/cordova/node_modules/cordova-common/s rc/ActionStack.js:56:25) at PluginManager.doOperation (/private/tmp/gimlet/70271353716540/2335649/project/cordova/node_modules/cordova-common/s rc/PluginManager.js:117:20) at PluginManager.addPlugin (/private/tmp/gimlet/70271353716540/2335649/project/cordova/node_modules/cordova-common/s rc/PluginManager.js:147:17) at Api.addPlugin (/private/tmp/gimlet/70271353716540/2335649/project/cordova/Api.js:219:10) at handleInstall (/usr/local/lib/node_modules/pgb-plugman/node_modules/pgb-cordova-lib/src/plugman/install .js:580:6) at /usr/local/lib/node_modules/pgb-plugman/node_modules/pgb-cordova-lib/src/plugman/install. js:384:20 at _fulfilled (/usr/local/lib/node_modules/pgb-plugman/node_modules/q/q.js:787:54) at self.promiseDispatch.done (/usr/local/lib/node_modules/pgb-plugman/node_modules/q/q.js:816:30) at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/pgb-plugman/node_modules/q/q.js:749:13) Uh oh! Cannot find framework "/private/tmp/gimlet/70271353716540/2335649/project/cordova/plugins/com.tokbox.cordova.op entok/src/ios/OpenTok.framework" for plugin com.tokbox.cordova.opentok in iOS platform - You can fix this here
I have also added the plugin to my config.xml using the plugin tag that was recommended:

also tried adding the plugin with the github link using spec=""

Information was retrieved from the phonegap website: https://build.phonegap.com/plugins/1867

Is there any other way to install this plugin to my app without using the config.xml plugin tag?

The plugin successfully compiles for windows and android but throws an error for ios. Would prefer using config.xml to install the plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant