You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by fi...@apache.org on 2013/02/09 00:11:34 UTC

git commit: better errors in ios min checks

Updated Branches:
  refs/heads/master bb8e604ea -> 2e455a1f1


better errors in ios min checks


Project: http://git-wip-us.apache.org/repos/asf/cordova-cli/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-cli/commit/2e455a1f
Tree: http://git-wip-us.apache.org/repos/asf/cordova-cli/tree/2e455a1f
Diff: http://git-wip-us.apache.org/repos/asf/cordova-cli/diff/2e455a1f

Branch: refs/heads/master
Commit: 2e455a1f1779f590391a5ac77680932cf67c4e0c
Parents: bb8e604
Author: Fil Maj <ma...@gmail.com>
Authored: Fri Feb 8 15:15:32 2013 -0800
Committer: Fil Maj <ma...@gmail.com>
Committed: Fri Feb 8 15:15:32 2013 -0800

----------------------------------------------------------------------
 src/metadata/ios_parser.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/2e455a1f/src/metadata/ios_parser.js
----------------------------------------------------------------------
diff --git a/src/metadata/ios_parser.js b/src/metadata/ios_parser.js
index d80ab49..9a9f306 100644
--- a/src/metadata/ios_parser.js
+++ b/src/metadata/ios_parser.js
@@ -62,7 +62,7 @@ module.exports.check_requirements = function(callback) {
     // Check xcode + version.
     shell.exec('xcodebuild -version', {silent:true, async:true}, function(code, output) {
         if (code != 0) {
-            callback('Xcode is not installed. Cannot add iOS platform. Output: ' + output);
+            callback('Xcode is (probably) not installed, specifically the command `xcodebuild` is unavailable or erroring out. Output of `xcodebuild -version` is: ' + output);
         } else {
             var xc_version = output.split('\n')[0].split(' ')[1];
             if (semver.lt(xc_version, MIN_XCODE_VERSION)) {