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

not able to install plugin for ios #107

Open
vishalgole opened this issue Jun 13, 2019 · 4 comments
Open

not able to install plugin for ios #107

vishalgole opened this issue Jun 13, 2019 · 4 comments
Assignees

Comments

@vishalgole
Copy link

I am working on ionic application. Below are my application details.

cli packages: (/usr/local/lib/node_modules)

@ionic/cli-utils  : 1.19.1
ionic (Ionic CLI) : 3.19.1

global packages:

cordova (Cordova CLI) : 7.1.0 

local packages:

@ionic/app-scripts : 3.0.0
Cordova Platforms  : ios 4.5.4
Ionic Framework    : ionic-angular 3.7.1

System:

ios-deploy : 1.9.2 
Node       : v6.13.1
npm        : 3.10.10 
OS         : macOS
Xcode      : Xcode 9.4 Build version 9F1027a

While installing the plugin for ios, I got below issue..

Error: Hook failed with error code ENOENT: /Users/karthikayanmuthuramalingam/Desktop/Vishal///plugins/blinkid-cordova/scripts/initIOSFramework.sh

I already changed Microblink to MicroBlink as already suggested by someone...Does anyone faced same issue?

@Cerovec
Copy link
Contributor

Cerovec commented Mar 27, 2020

Hi @vishalgole,

Please let us know if you're still facing the same issue with the latest versions of our plugin.

Thanks!
Jurica.

@FATI6
Copy link

FATI6 commented Jun 26, 2020

hello , please when i run the script $ ./initCordovaDemoApp.sh
i face those errors : reating a new cordova project.
Adding blinkid-cordova to package.json
Using cordova-fetch for cordova-android@8
Adding android project...
Creating Cordova project for the Android platform:
Path: platforms\android
Package: com.microblink.blinkid
Name: BlinkIDDemo
Activity: MainActivity
Android target: android-28
Subproject Path: CordovaLib
Subproject Path: app
Android project created with [email protected]
Installing "blinkid-cordova" for android
Subproject Path: CordovaLib
Subproject Path: app
Plugin 'cordova-plugin-whitelist' found in config.xml... Migrating it to package.json
Discovered saved plugin "cordova-plugin-whitelist". Adding it to the project
Installing "cordova-plugin-whitelist" for android
Adding cordova-plugin-whitelist to package.json
Using cordova-fetch for cordova-ios@^5.0.0
Adding ios project...
Creating Cordova project for the iOS platform:
Path: platforms\ios
Package: com.microblink.blinkid
Name: BlinkIDDemo
iOS project created with [email protected]
Installing "blinkid-cordova" for ios
Running command: bash C:\Users\asus\blinkid-cordova\BlinkIDDemo\plugins\blinkid-cordova\scripts\initIOSFramework.sh C:\Users\asus\blinkid-cordova\BlinkIDDemo
ERROR: couldn't download Microblink framework, install wget
Failed to install 'blinkid-cordova': Error: Hook failed with error code 1: C:\Users\asus\blinkid-cordova\BlinkIDDemo\plugins\blinkid-cordova\scripts\initIOSFramework.sh
at C:\Users\asus\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\hooks\HooksRunner.js:224:23
at _rejected (C:\Users\asus\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:864:24)
at C:\Users\asus\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:890:30
at Promise.when (C:\Users\asus\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:1142:31)
at Promise.promise.promiseDispatch (C:\Users\asus\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:808:41)
at C:\Users\asus\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:624:44
at runSingle (C:\Users\asus\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:137:13)
at flush (C:\Users\asus\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:125:13)
at processTicksAndRejections (internal/process/task_queues.js:79:11)
Hook failed with error code 1: C:\Users\asus\blinkid-cordova\BlinkIDDemo\plugins\blinkid-cordova\scripts\initIOSFramework.sh
To run iOS demo application open Xcode project BlinkIDDemo.xcodeproj
To run Android demo application, position to BlinkIDDemo folder and type: cordova run android

@mparadina
Copy link
Contributor

Hi @FATI6

Just to double-check, do you have wget installed?

We've noticed it from the exception: ERROR: couldn't download Microblink framework, install wget

For Windows, you can download it here: http://gnuwin32.sourceforge.net/packages/wget.htm

Let me know if it helped.

Regards,
Milan

@eddieAvdg
Copy link

Hi @FATI6

Are you still experiencing the previously mentioned issues?

Regards,
Edhem

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

No branches or pull requests

7 participants