You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2012/12/05 04:44:11 UTC

[1/2] ios commit: Mention cordova_plist_to_config_xml in the NSAssert for config.xml

Updated Branches:
  refs/heads/master d00dc78e1 -> 7e970ad89


Mention cordova_plist_to_config_xml in the NSAssert for config.xml


Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/7e970ad8
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/7e970ad8
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/7e970ad8

Branch: refs/heads/master
Commit: 7e970ad89a7457db7b4daf021cfbd5ccd8f5464a
Parents: 345a982
Author: Andrew Grieve <ag...@chromium.org>
Authored: Tue Dec 4 22:43:03 2012 -0500
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Tue Dec 4 22:43:03 2012 -0500

----------------------------------------------------------------------
 CordovaLib/Classes/CDVViewController.m |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/7e970ad8/CordovaLib/Classes/CDVViewController.m
----------------------------------------------------------------------
diff --git a/CordovaLib/Classes/CDVViewController.m b/CordovaLib/Classes/CDVViewController.m
index 4930104..ed13912 100644
--- a/CordovaLib/Classes/CDVViewController.m
+++ b/CordovaLib/Classes/CDVViewController.m
@@ -142,7 +142,7 @@ static NSString* gOriginalUserAgent = nil;
     NSString* path = [[NSBundle mainBundle] pathForResource:@"config" ofType:@"xml"];
 
     if (![[NSFileManager defaultManager] fileExistsAtPath:path]) {
-        NSAssert(NO, @"ERROR: config.xml does not exist");
+        NSAssert(NO, @"ERROR: config.xml does not exist. Please run cordova-ios/bin/cordova_plist_to_config_xml path/to/project.");
         return;
     }