nuteron
nuteron

Reputation: 541

Use plug man to install a phone gap plugin iOs

am having a tuff time integrating a bar code plugin into my cordova project using plug man. I went through the plug man documentation and followed what the command which they suggested ie.

Syntax: plugman install --platform --project --plugin [--variable NAME=VALUE]

My Example: plugman install --platform iOS --project ~/Users/gundalasubbareddy/Desktop/BarCodeReader --plugin ~/Users/gundalasubbareddy/Downloads/BarcodeScanner-master

The output what i get is this:

Usage

Install a plugin

$ plugman install --platform <platform> --project <directory> --plugin <plugin> [--variable NAME=VALUE]

Parameters:

Uninstall a plugin

$ plugman uninstall --platform <platform> --project <directory> --plugin <plugin-id>

Parameters: - plugin : The plugin to remove, identified by its id (see the plugin.xml's attribute)

Optional parameters

Optional flags

--debug|-d : Verbose mode

--help|-h : Displays this message

--version|-v : Displays version

Interacting with the registry

Add a user account

$ plugman adduser

Publish a plugin

$ plugman publish <directory>

Unpublish a plugin

$ plugman unpublish <name>@<version>

Search for a plugin

$ plugman search <keyword1 keyword2 ...>

Display plugin information

$ plugman info plugin

Manage registry configuration

$ plugman config set registry http://localhost:5984/registry/_design/app/_rewrite
$ plugman config get registry

Manage owners

$ plugman owner ls org.apache.cordova.core.file
$ plugman owner add username org.apache.cordova.core.file
$ plugman owner rm username org.apache.cordova.core.file

I don't see the plugin installed into my project. Please help me where am i doing wrong. Thanks santosh

Upvotes: 3

Views: 2861

Answers (1)

ED-209
ED-209

Reputation: 4746

I think your problem is the fact that 'iOS' should be 'ios'.

So change your line to:

plugman install --platform ios --project ~/Users/gundalasubbareddy/Desktop/BarCodeReader --plugin ~/Users/gundalasubbareddy/Downloads/BarcodeScanner-master

Upvotes: 1

Related Questions