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

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

Github user shazron commented on the pull request:

    https://github.com/apache/cordova-lib/pull/219#issuecomment-151323347
  
    11 failing tests:
    
    ```
    Failures:
    
      1) ios project handler installation of <source-file> elements should call 
into xcodeproj's addSourceFile appropriately when element has no target-dir
       Message:
         Expected spy addSourceFile to have been called with [ 
'Plugins/org.test.plugins.dummyplugin/DummyPluginCommand.m', { target : 
'571A463A14DB0A1B007FEAC7' } ] but actual calls were [ 
'Plugins/org.test.plugins.dummyplugin/DummyPluginCommand.m', {  } ]
       Stacktrace:
         Error: Expected spy addSourceFile to have been called with [ 
'Plugins/org.test.plugins.dummyplugin/DummyPluginCommand.m', { target : 
'571A463A14DB0A1B007FEAC7' } ] but actual calls were [ 
'Plugins/org.test.plugins.dummyplugin/DummyPluginCommand.m', {  } ]
        at null.<anonymous> 
(/Users/shaz/Documents/Git/Apache/cordova-lib/cordova-lib/spec-plugman/platforms/ios.spec.js:167:29)
    
      2) ios project handler installation of <source-file> elements should call 
into xcodeproj's addSourceFile appropriately when element has a target-dir
       Message:
         Expected spy addSourceFile to have been called with [ 
'Plugins/org.test.plugins.dummyplugin/targetDir/TargetDirTest.m', { target : 
'571A463A14DB0A1B007FEAC7' } ] but actual calls were [ 
'Plugins/org.test.plugins.dummyplugin/targetDir/TargetDirTest.m', {  } ]
       Stacktrace:
         Error: Expected spy addSourceFile to have been called with [ 
'Plugins/org.test.plugins.dummyplugin/targetDir/TargetDirTest.m', { target : 
'571A463A14DB0A1B007FEAC7' } ] but actual calls were [ 
'Plugins/org.test.plugins.dummyplugin/targetDir/TargetDirTest.m', {  } ]
        at null.<anonymous> 
(/Users/shaz/Documents/Git/Apache/cordova-lib/cordova-lib/spec-plugman/platforms/ios.spec.js:173:29)
    
      3) ios project handler installation of <source-file> elements should call 
into xcodeproj's addFramework appropriately when element has framework=true set
       Message:
         Expected spy addFramework to have been called with [ 
'SampleApp/Plugins/org.test.plugins.dummyplugin/SourceWithFramework.m', { weak 
: false, target : '571A463A14DB0A1B007FEAC7' } ] but actual calls were [ 
'SampleApp/Plugins/org.test.plugins.dummyplugin/SourceWithFramework.m', { weak 
: false } ]
       Stacktrace:
         Error: Expected spy addFramework to have been called with [ 
'SampleApp/Plugins/org.test.plugins.dummyplugin/SourceWithFramework.m', { weak 
: false, target : '571A463A14DB0A1B007FEAC7' } ] but actual calls were [ 
'SampleApp/Plugins/org.test.plugins.dummyplugin/SourceWithFramework.m', { weak 
: false } ]
        at null.<anonymous> 
(/Users/shaz/Documents/Git/Apache/cordova-lib/cordova-lib/spec-plugman/platforms/ios.spec.js:192:29)
    
      4) ios project handler installation of <resource-file> elements should 
call into xcodeproj's addResourceFile
       Message:
         Expected spy addResourceFile to have been called with [ 
'Resources/DummyPlugin.bundle', { target : '571A463A14DB0A1B007FEAC7' } ] but 
actual calls were [ 'Resources/DummyPlugin.bundle' ]
       Stacktrace:
         Error: Expected spy addResourceFile to have been called with [ 
'Resources/DummyPlugin.bundle', { target : '571A463A14DB0A1B007FEAC7' } ] but 
actual calls were [ 'Resources/DummyPlugin.bundle' ]
        at null.<anonymous> 
(/Users/shaz/Documents/Git/Apache/cordova-lib/cordova-lib/spec-plugman/platforms/ios.spec.js:258:29)
    
      5) ios project handler installation of <framework custom="true"> elements 
should call into xcodeproj's addFramework
       Message:
         Expected spy addFramework to have been called with [ 
'SampleApp/Plugins/org.test.plugins.dummyplugin/Custom.framework', { 
customFramework : true, target : '571A463A14DB0A1B007FEAC7' } ] but actual 
calls were [ 'SampleApp/Plugins/org.test.plugins.dummyplugin/Custom.framework', 
{ customFramework : true } ]
       Stacktrace:
         Error: Expected spy addFramework to have been called with [ 
'SampleApp/Plugins/org.test.plugins.dummyplugin/Custom.framework', { 
customFramework : true, target : '571A463A14DB0A1B007FEAC7' } ] but actual 
calls were [ 'SampleApp/Plugins/org.test.plugins.dummyplugin/Custom.framework', 
{ customFramework : true } ]
        at null.<anonymous> 
(/Users/shaz/Documents/Git/Apache/cordova-lib/cordova-lib/spec-plugman/platforms/ios.spec.js:286:29)
    
      6) ios project handler uninstallation of <source-file> elements should 
call into xcodeproj's removeSourceFile appropriately when element has no 
target-dir
       Message:
         Expected spy removeSourceFile to have been called with [ 
'Plugins/org.test.plugins.dummyplugin/DummyPluginCommand.m', { target : 
'571A463A14DB0A1B007FEAC7' } ] but actual calls were [ 
'Plugins/org.test.plugins.dummyplugin/DummyPluginCommand.m' ]
       Stacktrace:
         Error: Expected spy removeSourceFile to have been called with [ 
'Plugins/org.test.plugins.dummyplugin/DummyPluginCommand.m', { target : 
'571A463A14DB0A1B007FEAC7' } ] but actual calls were [ 
'Plugins/org.test.plugins.dummyplugin/DummyPluginCommand.m' ]
        at null.<anonymous> 
(/Users/shaz/Documents/Git/Apache/cordova-lib/cordova-lib/spec-plugman/platforms/ios.spec.js:330:29)
    
      7) ios project handler uninstallation of <source-file> elements should 
call into xcodeproj's removeSourceFile appropriately when element a target-dir
       Message:
         Expected spy removeSourceFile to have been called with [ 
'Plugins/org.test.plugins.dummyplugin/targetDir/TargetDirTest.m', { target : 
'571A463A14DB0A1B007FEAC7' } ] but actual calls were [ 
'Plugins/org.test.plugins.dummyplugin/targetDir/TargetDirTest.m' ]
       Stacktrace:
         Error: Expected spy removeSourceFile to have been called with [ 
'Plugins/org.test.plugins.dummyplugin/targetDir/TargetDirTest.m', { target : 
'571A463A14DB0A1B007FEAC7' } ] but actual calls were [ 
'Plugins/org.test.plugins.dummyplugin/targetDir/TargetDirTest.m' ]
        at null.<anonymous> 
(/Users/shaz/Documents/Git/Apache/cordova-lib/cordova-lib/spec-plugman/platforms/ios.spec.js:337:29)
    
      8) ios project handler uninstallation of <source-file> elements should 
call into xcodeproj's removeFramework appropriately when element framework=true 
set
       Message:
         Expected spy removeFramework to have been called with [ 
'SampleApp/Plugins/org.test.plugins.dummyplugin/SourceWithFramework.m', { 
target : '571A463A14DB0A1B007FEAC7' } ] but actual calls were [ 
'SampleApp/Plugins/org.test.plugins.dummyplugin/SourceWithFramework.m' ]
       Stacktrace:
         Error: Expected spy removeFramework to have been called with [ 
'SampleApp/Plugins/org.test.plugins.dummyplugin/SourceWithFramework.m', { 
target : '571A463A14DB0A1B007FEAC7' } ] but actual calls were [ 
'SampleApp/Plugins/org.test.plugins.dummyplugin/SourceWithFramework.m' ]
        at null.<anonymous> 
(/Users/shaz/Documents/Git/Apache/cordova-lib/cordova-lib/spec-plugman/platforms/ios.spec.js:361:29)
    
      9) ios project handler uninstallation of <resource-file> elements should 
call into xcodeproj's removeResourceFile
       Message:
         Expected spy removeResourceFile to have been called with [ 
'Resources/DummyPlugin.bundle', { target : '571A463A14DB0A1B007FEAC7' } ] but 
actual calls were [ 'Resources/DummyPlugin.bundle' ]
       Stacktrace:
         Error: Expected spy removeResourceFile to have been called with [ 
'Resources/DummyPlugin.bundle', { target : '571A463A14DB0A1B007FEAC7' } ] but 
actual calls were [ 'Resources/DummyPlugin.bundle' ]
        at null.<anonymous> 
(/Users/shaz/Documents/Git/Apache/cordova-lib/cordova-lib/spec-plugman/platforms/ios.spec.js:402:29)
    
      10) ios project handler uninstallation of <framework custom="true"> 
elements should call into xcodeproj's removeFramework
       Message:
         Expected spy removeFramework to have been called with [ 
'/var/folders/gp/qnjhl3ps51z2vvww_th7ldsh0000gn/T/plugman/SampleApp/Plugins/org.test.plugins.dummyplugin/Custom.framework',
 { customFramework : true, target : '571A463A14DB0A1B007FEAC7' } ] but actual 
calls were [ 
'/var/folders/gp/qnjhl3ps51z2vvww_th7ldsh0000gn/T/plugman/SampleApp/Plugins/org.test.plugins.dummyplugin/Custom.framework',
 { customFramework : true } ]
       Stacktrace:
         Error: Expected spy removeFramework to have been called with [ 
'/var/folders/gp/qnjhl3ps51z2vvww_th7ldsh0000gn/T/plugman/SampleApp/Plugins/org.test.plugins.dummyplugin/Custom.framework',
 { customFramework : true, target : '571A463A14DB0A1B007FEAC7' } ] but actual 
calls were [ 
'/var/folders/gp/qnjhl3ps51z2vvww_th7ldsh0000gn/T/plugman/SampleApp/Plugins/org.test.plugins.dummyplugin/Custom.framework',
 { customFramework : true } ]
        at null.<anonymous> 
(/Users/shaz/Documents/Git/Apache/cordova-lib/cordova-lib/spec-plugman/platforms/ios.spec.js:421:29)
    
      11) ios project handler uninstallation apple watch test should find the 
application target (and not the watchkit extension/app)
       Message:
         CordovaError: could not find -Info.plist file, or config.xml file.
       Stacktrace:
         CordovaError: could not find -Info.plist file, or config.xml file.
        at Object.module.exports.parseProjectFile 
(/Users/shaz/Documents/Git/Apache/cordova-lib/cordova-lib/src/plugman/platforms/ios.js:231:19)
        at null.<anonymous> 
(/Users/shaz/Documents/Git/Apache/cordova-lib/cordova-lib/spec-plugman/platforms/ios.spec.js:437:35)
    ```


> 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: CordovaLib
>    Affects Versions: 5.0.0
>         Environment: iOS
>            Reporter: Olivier Goguel
>            Assignee: Shazron Abdullah
>              Labels: cordova-ios-4.0.x
>
> 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: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to