Shazron Abdullah created CB-11774:
-------------------------------------
Summary: Fix test-ios failures
Key: CB-11774
URL: https://issues.apache.org/jira/browse/CB-11774
Project: Apache Cordova
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: Paramedic
Reporter: Shazron Abdullah
{code}
$ npm run test-ios
> [email protected] test-ios
> /Users/shaz/Documents/Git/Apache/cordova-paramedic
> node main.js --platform ios --plugin ./spec/testable-plugin/ --verbose
cordova-paramedic: creating temp project at
/var/folders/gp/qnjhl3ps51z2vvww_th7ldsh0000gn/T/tmp-93487aNR48WzaOU2F
Creating a new cordova project.
/private/var/folders/gp/qnjhl3ps51z2vvww_th7ldsh0000gn/T/tmp-93487aNR48WzaOU2F
/Users/shaz/Documents/Git/Apache/cordova-paramedic
cordova-paramedic: installing plugins
cordova-paramedic: installing
/Users/shaz/Documents/Git/Apache/cordova-paramedic/spec/testable-plugin
cordova-paramedic: installing
/var/folders/gp/qnjhl3ps51z2vvww_th7ldsh0000gn/T/tmp-93487aNR48WzaOU2F/plugins/org.apache.cordova.testable-plugin/tests
org.apache.cordova.testable-plugin 0.0.1 "Testable Plugin"
org.apache.cordova.testable.tests 0.0.1 "Cordova Testable Plugin Tests"
cordova-paramedic: installing cordova-plugin-test-framework
Fetching plugin "cordova-plugin-test-framework" via npm
cordova-paramedic: installing cordova-plugin-device
Fetching plugin "cordova-plugin-device" via npm
cordova-paramedic: installing
/Users/shaz/Documents/Git/Apache/cordova-paramedic/paramedic-plugin
cordova-paramedic: installing
/Users/shaz/Documents/Git/Apache/cordova-paramedic/ios-geolocation-permissions-plugin
cordova-paramedic: setting app start page to test page
cordova-paramedic: adding platform : ios
Adding ios project...
Creating Cordova project for the iOS platform:
Path: platforms/ios
Package: io.cordova.hellocordova
Name: HelloCordova
iOS project created with [email protected]
Installing "cordova-plugin-device" for ios
Installing "cordova-plugin-paramedic" for ios
Installing "cordova-plugin-test-framework" for ios
Installing "ios-geolocation-permissions-plugin" for ios
Installing "org.apache.cordova.testable-plugin" for ios
Installing "org.apache.cordova.testable.tests" for ios
Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the
project
Fetching plugin "cordova-plugin-whitelist@1" via npm
Installing "cordova-plugin-whitelist" for ios
cordova-paramedic: checking requirements for platform ios
Requirements check results for ios:
Apple OS X: installed darwin
Xcode: installed 7.3.1
ios-deploy: not installed
ios-deploy was not found. Please download, build and install version 1.8.3 or
greater from https://github.com/phonegap/ios-deploy into your path, or do 'npm
install -g ios-deploy'
Error: Some of requirements check failed
Completed tests at 2:18:56 PM
Collecting logs for the devices.
It looks like there is no target to get logs from.
Uninstalling the app.
Error: Platform requirements check has failed!
at ParamedicRunner.checkPlatformRequirements
(/Users/shaz/Documents/Git/Apache/cordova-paramedic/lib/paramedic.js:160:15)
at ParamedicRunner.prepareProjectToRunTests
(/Users/shaz/Documents/Git/Apache/cordova-paramedic/lib/paramedic.js:122:10)
at /Users/shaz/Documents/Git/Apache/cordova-paramedic/lib/paramedic.js:76:14
at _fulfilled
(/Users/shaz/Documents/Git/Apache/cordova-paramedic/node_modules/q/q.js:834:54)
at self.promiseDispatch.done
(/Users/shaz/Documents/Git/Apache/cordova-paramedic/node_modules/q/q.js:863:30)
at Promise.promise.promiseDispatch
(/Users/shaz/Documents/Git/Apache/cordova-paramedic/node_modules/q/q.js:796:13)
at
/Users/shaz/Documents/Git/Apache/cordova-paramedic/node_modules/q/q.js:857:14
at runSingle
(/Users/shaz/Documents/Git/Apache/cordova-paramedic/node_modules/q/q.js:137:13)
at flush
(/Users/shaz/Documents/Git/Apache/cordova-paramedic/node_modules/q/q.js:125:13)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
npm ERR! Darwin 15.6.0
npm ERR! argv "/Users/shaz/.nvm/v6.4.0/bin/node"
"/Users/shaz/.nvm/v6.4.0/bin/npm" "run" "test-ios"
npm ERR! node v6.4.0
npm ERR! npm v3.10.3
npm ERR! code ELIFECYCLE
npm ERR! [email protected] test-ios: `node main.js --platform ios
--plugin ./spec/testable-plugin/ --verbose`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] test-ios script 'node main.js
--platform ios --plugin ./spec/testable-plugin/ --verbose'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the cordova-paramedic
package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node main.js --platform ios --plugin ./spec/testable-plugin/
--verbose
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs cordova-paramedic
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls cordova-paramedic
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/shaz/Documents/Git/Apache/cordova-paramedic/npm-debug.log
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]