[ 
https://issues.apache.org/jira/browse/CB-9033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14546702#comment-14546702
 ] 

ASF GitHub Bot commented on CB-9033:
------------------------------------

GitHub user ogoguel opened a pull request:

    https://github.com/apache/cordova-lib/pull/219

    CB-9033 : fix WatchKit support

    Fixing plugin support while WatchKit has been added to an iOS project by 
discard any list .plist file containing WKCompanionAppBundleIdentifier or 
WKAppBundleIdentifier, so the plugin manager properly identifies the main plist 
file of the project
    
    To test
    > cordova create myApp
    > cd myApp
    > cordova platform add ios
    
    Goto Xcode, open the project add a new Watch Kit Target
    
    > cordova plugin add cordova-plugin-console
    
    Installing "cordova-plugin-console" for ios
    Failed to install 'cordova-plugin-console':CordovaError: could not find 
-Info.plist file, or config.xml file.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ogoguel/cordova-lib master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-lib/pull/219.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #219
    
----
commit b33331fab9297f95fe6e0e28701255631ca0aa47
Author: Olivier Goguel <[email protected]>
Date:   2015-05-16T11:21:55Z

    CB-9033 : fix WatchKit support

----


> Plugins fail to install on Apple Watch based Cordova project
> ------------------------------------------------------------
>
>                 Key: CB-9033
>                 URL: https://issues.apache.org/jira/browse/CB-9033
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 5.0.0
>            Reporter: Olivier Goguel
>
> After having added the Watch Kit target to an iOS Cordova project, plugins 
> cannot be added any more through the CLI.
> An error is thrown "'could not find -Info.plist file, or config.xml file." as 
> the plugin manager is confused by the plist files from the WatchKit App and 
> WatchKit Extension and fails to find the proper plist file of the projet.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to