cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject ios commit: Updated bundled ios-sim to 5.0.3
Date Tue, 20 Oct 2015 21:33:45 GMT
Repository: cordova-ios
Updated Branches:
  refs/heads/master b57714357 -> 6da5c014a


Updated bundled ios-sim to 5.0.3


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

Branch: refs/heads/master
Commit: 6da5c014af0b7e2ff54097434a4d3ceacdfac36a
Parents: b577143
Author: Shazron Abdullah <shazron@apache.org>
Authored: Tue Oct 20 14:39:22 2015 -0700
Committer: Shazron Abdullah <shazron@apache.org>
Committed: Tue Oct 20 14:39:22 2015 -0700

----------------------------------------------------------------------
 .../node_modules/simctl/node_modules/tail/package.json       | 3 ++-
 bin/node_modules/ios-sim/node_modules/simctl/package.json    | 5 +++--
 bin/node_modules/ios-sim/package.json                        | 8 ++++----
 bin/node_modules/ios-sim/src/lib.js                          | 7 ++++++-
 4 files changed, 15 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/6da5c014/bin/node_modules/ios-sim/node_modules/simctl/node_modules/tail/package.json
----------------------------------------------------------------------
diff --git a/bin/node_modules/ios-sim/node_modules/simctl/node_modules/tail/package.json b/bin/node_modules/ios-sim/node_modules/simctl/node_modules/tail/package.json
index d08aa01..2b76510 100644
--- a/bin/node_modules/ios-sim/node_modules/simctl/node_modules/tail/package.json
+++ b/bin/node_modules/ios-sim/node_modules/simctl/node_modules/tail/package.json
@@ -52,5 +52,6 @@
     "tarball": "http://registry.npmjs.org/tail/-/tail-0.4.0.tgz"
   },
   "directories": {},
-  "_resolved": "https://registry.npmjs.org/tail/-/tail-0.4.0.tgz"
+  "_resolved": "https://registry.npmjs.org/tail/-/tail-0.4.0.tgz",
+  "readme": "ERROR: No README data found!"
 }

http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/6da5c014/bin/node_modules/ios-sim/node_modules/simctl/package.json
----------------------------------------------------------------------
diff --git a/bin/node_modules/ios-sim/node_modules/simctl/package.json b/bin/node_modules/ios-sim/node_modules/simctl/package.json
index 00f6d8c..b07f754 100644
--- a/bin/node_modules/ios-sim/node_modules/simctl/package.json
+++ b/bin/node_modules/ios-sim/node_modules/simctl/package.json
@@ -4,7 +4,7 @@
   "description": "library for Xcode simctl utility on OS X",
   "repository": {
     "type": "git",
-    "url": "https://github.com/phonegap/simctl.git"
+    "url": "git+https://github.com/phonegap/simctl.git"
   },
   "main": "simctl.js",
   "dependencies": {
@@ -44,5 +44,6 @@
     "tarball": "http://registry.npmjs.org/simctl/-/simctl-0.0.6.tgz"
   },
   "directories": {},
-  "_resolved": "https://registry.npmjs.org/simctl/-/simctl-0.0.6.tgz"
+  "_resolved": "https://registry.npmjs.org/simctl/-/simctl-0.0.6.tgz",
+  "readme": "ERROR: No README data found!"
 }

http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/6da5c014/bin/node_modules/ios-sim/package.json
----------------------------------------------------------------------
diff --git a/bin/node_modules/ios-sim/package.json b/bin/node_modules/ios-sim/package.json
index d195720..2385282 100644
--- a/bin/node_modules/ios-sim/package.json
+++ b/bin/node_modules/ios-sim/package.json
@@ -1,6 +1,6 @@
 {
   "name": "ios-sim",
-  "version": "5.0.2",
+  "version": "5.0.3",
   "os": [
     "darwin"
   ],
@@ -35,10 +35,10 @@
   },
   "readme": "ios-sim\n=======\n\nSupports Xcode 6 only since version 3.x.\n\nThe ios-sim
tool is a command-line utility that launches an iOS application on the iOS Simulator. This
allows for niceties such as automated testing without having to open Xcode.\n\nFeatures\n--------\n\n*
Choose the device family to simulate, i.e. iPhone or iPad. Run using \"showdevicetypes\" option
to see available device types, and pass it in as the \"devicetypeid\" parameter.\n\nSee the
`--help` option for more info.\n\nThe unimplemented options below are in the [backlog](https://github.com/phonegap/ios-sim/milestones/ios-sim%204.2.0)\n\nUsage\n-----\n\n```\n\n
   Usage: ios-sim <command> <options> [--args ...]\n        \n    Commands:\n
     showsdks                        List the available iOS SDK versions\n      showdevicetypes
                List the available device types\n      launch <application path>   
   Launch the application at the specified path on the iOS Simulator\n      start        

                   Launch iOS Simulator without an app\n      install <application path>
     Install the application at the specified path on the iOS Simulator without launching
the app\n\n    Options:\n      --version                       Print the version of ios-sim\n
     --help                          Show this help text\n      --exit                   
      Exit after startup\n      --log <log file path>           The path where log of
the app running in the Simulator will be redirected to\n      --devicetypeid <device type>
   The id of the device type that should be simulated (Xcode6+). Use 'showdevicetypes' to
list devices.\n                                      e.g \"com.apple.CoreSimulator.SimDeviceType.Resizable-iPhone6,
8.0\"\n                                  \n    Removed in version 4.x:\n      --stdout <stdout
file path>     The path where stdout of the simulator will be redirected to (defaults to
stdout of ios-sim)\n      --stderr <stderr file path>     The path w
 here stderr of the simulator will be redirected to (defaults to stderr of ios-sim)\n    
 --sdk <sdkversion>              The iOS SDK version to run the application on (defaults
to the latest)\n      --family <device family>        The device type that should be
simulated (defaults to `iphone')\n      --retina                        Start a retina device\n
     --tall                          In combination with --retina flag, start the tall version
of the retina device (e.g. iPhone 5 (4-inch))\n      --64bit                         In combination
with --retina flag and the --tall flag, start the 64bit version of the tall retina device
(e.g. iPhone 5S (4-inch 64bit))\n                                    \n    Unimplemented in
this version:\n      --verbose                       Set the output level to verbose\n   
  --timeout <seconds>             The timeout time to wait for a response from the Simulator.
Default value: 30 seconds\n      --args <...>                    All followin
 g arguments will be passed on to the application\n      --env <environment file path>
  A plist file containing environment key-value pairs that should be set\n      --setenv NAME=VALUE
            Set an environment variable\n                                  \n```\n\nInstallation\n------------\n\nChoose
one of the following installation methods.\n\n### Node JS\n\nInstall using node.js (at least
0.10.20):\n\n    $ npm install ios-sim -g\n\n### Zip\n\nDownload a zip file:\n\n    $ curl
-L https://github.com/phonegap/ios-sim/archive/master.zip -o ios-sim.zip\n    $ unzip ios-sim.zip\n\n###
Git\n\nDownload using git clone:\n\n    $ git clone git://github.com/phonegap/ios-sim.git\n\nTroubleshooting\n---------------\n\nMake
sure you enable Developer Mode on your machine:\n\n    $ DevToolsSecurity -enable\n\nMake
sure multiple instances of launchd_sim are not running:\n\n    $ killall launchd_sim\n\nLicense\n-------\n\nThis
project is available under the MIT license. See [LICENSE][licens
 e].\n\n[license]: https://github.com/phonegap/ios-sim/blob/master/LICENSE\n",
   "readmeFilename": "README.md",
-  "gitHead": "bbfd40a0ab320fe3073fa0820c5461d561f50432",
+  "gitHead": "d0dd865bd9b35b0d324ab37dc93126735a309ffb",
   "homepage": "https://github.com/phonegap/ios-sim#readme",
-  "_id": "ios-sim@5.0.2",
+  "_id": "ios-sim@5.0.3",
   "scripts": {},
-  "_shasum": "fec033eda26e9d9561e5c5c3b94f2c1b27f1480b",
+  "_shasum": "152c724258f22e13cbfa9b67d55a5300e9920af1",
   "_from": "ios-sim@*"
 }

http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/6da5c014/bin/node_modules/ios-sim/src/lib.js
----------------------------------------------------------------------
diff --git a/bin/node_modules/ios-sim/src/lib.js b/bin/node_modules/ios-sim/src/lib.js
index d84d9ea..20cdb2e 100644
--- a/bin/node_modules/ios-sim/src/lib.js
+++ b/bin/node_modules/ios-sim/src/lib.js
@@ -289,6 +289,11 @@ var lib = {
         
         for (var deviceName in druntimes) {
             var runtimes = druntimes[ deviceName ];
+            
+            if (!(deviceName in name_id_map)) {
+                continue;
+            }
+            
             runtimes.forEach(function(runtime){
                 // remove "iOS" prefix in runtime, remove prefix "com.apple.CoreSimulator.SimDeviceType."
in id
                 console.log(util.format("%s, %s", name_id_map[ deviceName ].replace(/^com.apple.CoreSimulator.SimDeviceType./,
''), runtime.replace(/^iOS /, '')));
@@ -334,7 +339,7 @@ var lib = {
         });
     },
 
-    install : function(app_path, info_plist_path, devicetypeid, log, exit) {
+    install : function(app_path, devicetypeid, log, exit) {
         var wait_for_debugger = false,
             info_plist_path,
             app_identifier;


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


Mime
View raw message