Skip to content

Commit 02da05e

Browse files
committed
fix: make sure to terminate running processes before launching app
1 parent ff57900 commit 02da05e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

lib/simctl.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ function launch(params, callback) {
146146
return callback(new Error(__('Missing "appId" param')));
147147
}
148148

149-
trySimctl(params, ['launch', params.udid, params.appId], callback);
149+
trySimctl(params, ['launch', '--terminate-running-process', params.udid, params.appId], callback);
150150
}
151151

152152
/**

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ioslib",
3-
"version": "1.7.37",
3+
"version": "1.7.38",
44
"description": "iOS Utility Library",
55
"keywords": [
66
"appcelerator",

0 commit comments

Comments
 (0)