simctl
Advanced tools
Comparing version 2.0.1 to 2.0.2
{ | ||
"name": "simctl", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "library for Xcode 8+ simctl utility on macOS", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -46,7 +46,7 @@ /* | ||
if (obj.code !== 0) { | ||
obj.output = 'simctl was not found.\n'; | ||
obj.output += 'Check that you have Xcode 8.x installed:\n'; | ||
obj.output += '\txcodebuild --version\n'; | ||
obj.output += 'Check that you have Xcode 8.x selected:\n'; | ||
obj.output += '\txcode-select --print-path\n'; | ||
obj.stdout = 'simctl was not found.\n'; | ||
obj.stdout += 'Check that you have Xcode 8.x installed:\n'; | ||
obj.stdout += '\txcodebuild --version\n'; | ||
obj.stdout += 'Check that you have Xcode 8.x selected:\n'; | ||
obj.stdout += '\txcode-select --print-path\n'; | ||
} | ||
@@ -172,3 +172,3 @@ | ||
try { | ||
obj.json = JSON.parse(obj.output); | ||
obj.json = JSON.parse(obj.stdout); | ||
} catch (err) { | ||
@@ -175,0 +175,0 @@ console.error(err.stack); |