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)
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]