ios-sim-portable
Advanced tools
Comparing version 3.1.1 to 3.1.2
@@ -76,10 +76,11 @@ "use strict"; | ||
} | ||
let resultOfTermination; | ||
if (xcodeMajorVersion && xcodeMajorVersion < 8) { | ||
const resultOfKill = childProcess.execSync(`killall ${bundleExecutable}`, { skipError: true }); | ||
utils.sleep(0.5); | ||
return resultOfKill; | ||
resultOfTermination = childProcess.execSync(`killall ${bundleExecutable}`, { skipError: true }); | ||
} | ||
else { | ||
return this.simctl.terminate(deviceId, appIdentifier); | ||
resultOfTermination = this.simctl.terminate(deviceId, appIdentifier); | ||
} | ||
utils.sleep(0.5); | ||
return resultOfTermination; | ||
} | ||
@@ -86,0 +87,0 @@ catch (e) { |
{ | ||
"name": "ios-sim-portable", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./lib/ios-sim.js", |
43608
745