Software Archive
Read-only legacy content
17061 Discussions

[Resolved] IOS - Error: Plugin "BarcodeScanner" failed to install

Mitchell_Franklin
New Contributor I
398 Views

Hi All,

I am having build failure for IOS due to the phonegap-plugin-barcodescanner plugin for IOS.

I am currently using Intel XDK 2893. I have tried changing versions 4x and 3x with the same error, a couple of weeks ago there was no issue and no code has changed except for updating the status bar plugin to the latest version so not sure of what is occuring.

  • Will use the provisioning profile for "adhoc"
  • Error: Plugin "BarcodeScanner" failed to install.
  • Plugin "cordova-plugin-statusbar" (2.0.0) installed.
  • Plugin "cordova-plugin-device" (1.1.0) installed.
  • Plugin "cordova-plugin-splashscreen" (3.0.0) installed.

Any thoughts or support that could be provided would be greatly appreciated.

 

Thanks

 

Mitch

0 Kudos
6 Replies
John_H_Intel2
Employee
398 Views

What other plugins are you using? I added the plugins you listed above and build just fine for iOS. Are you adding the plugins via the GUI in the XDK?

Build Log:
  • Building a Cordova 5.1.1 application.
  • The application name is "App2"
  • The package name is "com.teamjph.nothing.jan"
  • Will use the provisioning profile for "adhoc"
  • Plugin "cordova-plugin-device" (1.1.0) installed.
  • Plugin "cordova-plugin-splashscreen" (2.1.0) installed.
  • Plugin "cordova-plugin-statusbar" (2.0.0) installed.
  • Plugin "phonegap-plugin-barcodescanner" (4.1.0) installed.
  • Targeting iOS version 6.
0 Kudos
Mitchell_Franklin
New Contributor I
398 Views

Hi John,

The plugins have been added via the GUI - project was created prior to the GUI being as it is now so was added via Intel by providing the github address and version etc. - could there be some old code still valid?

Below is the full build log i get

Build Log:
  • Building a Cordova 5.1.1 application.
  • The application name is "Discount Check"
  • The package name is "mjs.productions.srg.discount.check"
  • Will use the provisioning profile for "adhoc"
  • Error: Plugin "BarcodeScanner" failed to install.
  • Plugin "cordova-plugin-statusbar" (2.0.0) installed.
  • Plugin "cordova-plugin-device" (1.1.0) installed.
  • Plugin "cordova-plugin-splashscreen" (3.0.0) installed.

 Thanks

Mitch

0 Kudos
Amrita_C_Intel
Employee
398 Views

Which barcode scanner version are you using?

0 Kudos
Mitchell_Franklin
New Contributor I
398 Views

Hi Amrita,

 

I have tried the 3x and 4x versions to see if it was something to do with that but still had the same issue

Ta

Mitch

0 Kudos
John_H_Intel2
Employee
398 Views

I believe the issue is with NPM itself. I tried building later, and the plugin failed to install, even through I didnt change anything. It seems like the registry is having connection issues sporadically. You can try downloading the plugin and then adding it as a local plugin via the GUI interface.

0 Kudos
Mitchell_Franklin
New Contributor I
398 Views

Hi John & Amrita,

Thank you for looking into this, it took a couple times through out the day and as you suspected it does work but an unknown NPM connection issues.

As always your support is awesome.

Ta

Mitch

0 Kudos
Reply