You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Oleg (JIRA)" <ji...@apache.org> on 2013/10/02 10:07:23 UTC

[jira] [Created] (CB-4971) Installation of plugins does not work for iOS

Oleg created CB-4971:
------------------------

             Summary: Installation of plugins does not work for iOS
                 Key: CB-4971
                 URL: https://issues.apache.org/jira/browse/CB-4971
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin Contacts, Plugin Device, Plugin Dialogs
    Affects Versions: 3.0.0
         Environment: iOS 
            Reporter: Oleg
             Fix For: Master, 3.0.0


Installation of iOS plugins does not work for iOS.

When installing the plugin via "cordova plugin add", the plugins fail to install correctly to the iOS platform:
- source code (.js, .m, .h and .bundle) files are not copied over
- proper frameworks are not being added to the 
- config.xml file is not updated with plugin information

Tried it on Device, Contacts and Dialogs and some other plugins.

the workaround is to perform the above steps manually. but it is not documented anywhere.

Note: it worked for me during one test, when the project was fresh. However after making a few minor changes and running "cordova prepare" or "cordova build" a few times, it stops working for iOS - i.e. you cannot add plugins without issues above. Android works fine.



--
This message was sent by Atlassian JIRA
(v6.1#6144)