We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccae6ae commit 0286007Copy full SHA for 0286007
src/commands.js
@@ -237,8 +237,16 @@ var command_lib = {
237
},
238
239
showsdks : function(args) {
240
- var options = { 'runtimes' : true };
241
- simctl.list(options);
+ var options = { silent: true, runtimes: true };
+ var list = simctl.list(options).json;
242
+
243
+ console.log("Simulator SDK Roots:");
244
+ list.runtimes.forEach(function(runtime) {
245
+ if (runtime.available) {
246
+ console.log(util.format("'%s' (%s)", runtime.name, runtime.build));
247
+ console.log(util.format("\t(unknown)"));
248
+ }
249
+ });
250
251
252
showdevicetypes : function(args) {
0 commit comments