You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/02/13 16:20:53 UTC

[GitHub] janpio opened a new issue #525: check_reqs (`cordova requirements`) treats Xcode different than pod or ios-deploy

janpio opened a new issue #525: check_reqs (`cordova requirements`) treats Xcode different than pod or ios-deploy
URL: https://github.com/apache/cordova-ios/issues/525
 
 
   # Bug Report
   
   ## Problem
   
   ### What is expected to happen?
   
   `cordova requirements` should treat all the software it checks for equally and show similar error message for similar problems.
   
   ### What does actually happen?
   
   ```
   λ cordova requirements
   
   Requirements check results for ios:
   Apple macOS: installed darwin
   Xcode: not installed
   
   ios-deploy: not installed
   Cordova needs ios-deploy version 1.9.2 or greater, you have version . Please download, build and install version 1.9.2 or greater from https://github.com/phonegap/ios-deploy into your path, or do 'npm install -g ios-deploy'
   CocoaPods: installed 1.0.1
   Some of requirements check failed
   ```
   
   As you can see Xcode/`xcodebuild` only gets a "not installed", while `ios-deploy` also shows a nice error message: "Cordova needs ios-deploy version 1.9.2 or greater, you have version . Please download, build and install version 1.9.2 or greater from https://github.com/phonegap/ios-deploy into your path, or do 'npm install -g ios-deploy'"
   
   When you have a (faked) Xcode installed, the "needs version" error message is correctly displayed:
   ```
   ...
   Xcode: not installed
   Cordova needs xcodebuild version 7.0.0 or greater, you have version 1. Please install version 7.0.0 or greater from App Store
   ...
   ```
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   
   This system does _not_ have Xcode/`xcodebuild` and `ios-deploy` installed.
   
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   
   `cordova requirements` 
   
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   
   ```
   λ cordova -v
   8.1.2 (cordova-lib@8.1.1)
   ```
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org