appium-xcuitest-driver 11.12.1 → 11.12.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## [11.12.2](https://github.com/appium/appium-xcuitest-driver/compare/v11.12.1...v11.12.2) (2026-06-19)
2
+
3
+ ### Bug Fixes
4
+
5
+ * Make sure the tunnel process exits after an unexpected error ([#2878](https://github.com/appium/appium-xcuitest-driver/issues/2878)) ([a31696c](https://github.com/appium/appium-xcuitest-driver/commit/a31696cee1da738c4aff49b6ef2d07c40a8761a1))
6
+
1
7
  ## [11.12.1](https://github.com/appium/appium-xcuitest-driver/compare/v11.12.0...v11.12.1) (2026-06-19)
2
8
 
3
9
  ### Miscellaneous Chores
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "appium-xcuitest-driver",
3
- "version": "11.12.1",
3
+ "version": "11.12.2",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "appium-xcuitest-driver",
9
- "version": "11.12.1",
9
+ "version": "11.12.2",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "@appium/css-locator-to-native": "^1.0.1",
@@ -137,6 +137,19 @@
137
137
  "npm": ">=10"
138
138
  }
139
139
  },
140
+ "node_modules/@appium/docutils/node_modules/teen_process": {
141
+ "version": "4.1.3",
142
+ "resolved": "https://registry.npmjs.org/teen_process/-/teen_process-4.1.3.tgz",
143
+ "integrity": "sha512-8W7Xp7WtJ5ZXjv0iHMsCgPPKzUt6ACfG/rDWX0tMIlMJaYcTYsPw3ZQQ9+hG7YsY+gm+DUATiyah3AraJ9JYpg==",
144
+ "license": "Apache-2.0",
145
+ "dependencies": {
146
+ "shell-quote": "^1.8.1"
147
+ },
148
+ "engines": {
149
+ "node": "^20.19.0 || ^22.12.0 || >=24.0.0",
150
+ "npm": ">=10"
151
+ }
152
+ },
140
153
  "node_modules/@appium/logger": {
141
154
  "version": "2.0.9",
142
155
  "resolved": "https://registry.npmjs.org/@appium/logger/-/logger-2.0.9.tgz",
@@ -215,64 +228,7 @@
215
228
  "sharp": "0.35.1"
216
229
  }
217
230
  },
218
- "node_modules/@appium/types": {
219
- "version": "1.5.1",
220
- "resolved": "https://registry.npmjs.org/@appium/types/-/types-1.5.1.tgz",
221
- "integrity": "sha512-cQkbSh6AwEGlowfKBxVngtBc5fkqAPmg4WdjGZ2txa81lpfuNTLX50VWM8Nxf3hiCgRMsRVfBWdU9x38OJqDrQ==",
222
- "license": "Apache-2.0",
223
- "dependencies": {
224
- "@appium/schema": "1.2.1",
225
- "type-fest": "5.7.0"
226
- },
227
- "engines": {
228
- "node": "^20.19.0 || ^22.12.0 || >=24.0.0",
229
- "npm": ">=10"
230
- },
231
- "peerDependencies": {
232
- "@appium/logger": "^2.0.0"
233
- }
234
- },
235
- "node_modules/@colors/colors": {
236
- "version": "1.6.0",
237
- "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.6.0.tgz",
238
- "integrity": "sha512-Ir+AOibqzrIsL6ajt3Rz3LskB7OiMVHqltZmspbW/TJuTVuyOMirVqAkjfY6JISiLHgyNqicAC8AyHHGzNd/dA==",
239
- "license": "MIT",
240
- "engines": {
241
- "node": ">=0.1.90"
242
- }
243
- },
244
- "node_modules/@dabh/diagnostics": {
245
- "version": "2.0.8",
246
- "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.8.tgz",
247
- "integrity": "sha512-R4MSXTVnuMzGD7bzHdW2ZhhdPC/igELENcq5IjEverBvq5hn1SXCWcsi6eSsdWP0/Ur+SItRRjAktmdoX/8R/Q==",
248
- "license": "MIT",
249
- "dependencies": {
250
- "@so-ric/colorspace": "^1.1.6",
251
- "enabled": "2.0.x",
252
- "kuler": "^2.0.0"
253
- }
254
- },
255
- "node_modules/@emnapi/runtime": {
256
- "version": "1.11.1",
257
- "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.11.1.tgz",
258
- "integrity": "sha512-vgj7R3y3Wgx24IQaGPA/R6YFXLHVMOZ0uVEyIQPaWs+rd1AzfEMXlAC22FYwO1XkKR6NPsq7mUandH8oIRdZFw==",
259
- "extraneous": true,
260
- "license": "MIT",
261
- "dependencies": {
262
- "tslib": "^2.4.0"
263
- }
264
- },
265
- "node_modules/@img/colour": {
266
- "version": "1.1.0",
267
- "resolved": "https://registry.npmjs.org/@img/colour/-/colour-1.1.0.tgz",
268
- "integrity": "sha512-Td76q7j57o/tLVdgS746cYARfSyxk8iEfRxewL9h4OMzYhbW4TAcppl0mT4eyqXddh6L/jwoM75mo7ixa/pCeQ==",
269
- "devOptional": true,
270
- "license": "MIT",
271
- "engines": {
272
- "node": ">=18"
273
- }
274
- },
275
- "node_modules/@img/sharp-libvips-linux-x64": {
231
+ "node_modules/@appium/support/node_modules/@img/sharp-libvips-linux-x64": {
276
232
  "version": "1.3.0",
277
233
  "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-x64/-/sharp-libvips-linux-x64-1.3.0.tgz",
278
234
  "integrity": "sha512-y9RNUYDe2A1UAdhLyfeOodGRszQdaEoe4nfOpp/sNVPl2CWIcUyFaDoCh4vPLPxu19803j2naLqZup2WxDXCLA==",
@@ -291,7 +247,7 @@
291
247
  "url": "https://opencollective.com/libvips"
292
248
  }
293
249
  },
294
- "node_modules/@img/sharp-linux-x64": {
250
+ "node_modules/@appium/support/node_modules/@img/sharp-linux-x64": {
295
251
  "version": "0.35.1",
296
252
  "resolved": "https://registry.npmjs.org/@img/sharp-linux-x64/-/sharp-linux-x64-0.35.1.tgz",
297
253
  "integrity": "sha512-NbJD4mWdeyrNQKluO/tR/wBDOelcowSVGNBWxI0e3ZtlXc6F/UOVKDj1MLD4zl3oHTuvKW3s+MA9N54YTldAYw==",
@@ -316,7 +272,7 @@
316
272
  "@img/sharp-libvips-linux-x64": "1.3.0"
317
273
  }
318
274
  },
319
- "node_modules/@img/sharp-wasm32": {
275
+ "node_modules/@appium/support/node_modules/@img/sharp-wasm32": {
320
276
  "version": "0.35.1",
321
277
  "resolved": "https://registry.npmjs.org/@img/sharp-wasm32/-/sharp-wasm32-0.35.1.tgz",
322
278
  "integrity": "sha512-PCQUoQdZyE8tp3HpbevuihfUmgSP4qWI0FGEPWoeXqaS+cUrFfemabHQiebUmUmlUhCuNnQMxGrQ+CPqK4hnxg==",
@@ -332,6 +288,121 @@
332
288
  "url": "https://opencollective.com/libvips"
333
289
  }
334
290
  },
291
+ "node_modules/@appium/support/node_modules/sharp": {
292
+ "version": "0.35.1",
293
+ "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.35.1.tgz",
294
+ "integrity": "sha512-lW979AMi+ESidzMv/Lnv+F9bknzLyxLqFI05Sm433vOeRcltgxQmXpnfOOFIAlKtwXU/ksupm2srQoFCkR214g==",
295
+ "license": "Apache-2.0",
296
+ "optional": true,
297
+ "dependencies": {
298
+ "@img/colour": "^1.1.0",
299
+ "detect-libc": "^2.1.2",
300
+ "semver": "^7.8.4"
301
+ },
302
+ "engines": {
303
+ "node": ">=20.9.0"
304
+ },
305
+ "funding": {
306
+ "url": "https://opencollective.com/libvips"
307
+ },
308
+ "optionalDependencies": {
309
+ "@img/sharp-darwin-arm64": "0.35.1",
310
+ "@img/sharp-darwin-x64": "0.35.1",
311
+ "@img/sharp-freebsd-wasm32": "0.35.1",
312
+ "@img/sharp-libvips-darwin-arm64": "1.3.0",
313
+ "@img/sharp-libvips-darwin-x64": "1.3.0",
314
+ "@img/sharp-libvips-linux-arm": "1.3.0",
315
+ "@img/sharp-libvips-linux-arm64": "1.3.0",
316
+ "@img/sharp-libvips-linux-ppc64": "1.3.0",
317
+ "@img/sharp-libvips-linux-riscv64": "1.3.0",
318
+ "@img/sharp-libvips-linux-s390x": "1.3.0",
319
+ "@img/sharp-libvips-linux-x64": "1.3.0",
320
+ "@img/sharp-libvips-linuxmusl-arm64": "1.3.0",
321
+ "@img/sharp-libvips-linuxmusl-x64": "1.3.0",
322
+ "@img/sharp-linux-arm": "0.35.1",
323
+ "@img/sharp-linux-arm64": "0.35.1",
324
+ "@img/sharp-linux-ppc64": "0.35.1",
325
+ "@img/sharp-linux-riscv64": "0.35.1",
326
+ "@img/sharp-linux-s390x": "0.35.1",
327
+ "@img/sharp-linux-x64": "0.35.1",
328
+ "@img/sharp-linuxmusl-arm64": "0.35.1",
329
+ "@img/sharp-linuxmusl-x64": "0.35.1",
330
+ "@img/sharp-webcontainers-wasm32": "0.35.1",
331
+ "@img/sharp-win32-arm64": "0.35.1",
332
+ "@img/sharp-win32-ia32": "0.35.1",
333
+ "@img/sharp-win32-x64": "0.35.1"
334
+ }
335
+ },
336
+ "node_modules/@appium/support/node_modules/teen_process": {
337
+ "version": "4.1.3",
338
+ "resolved": "https://registry.npmjs.org/teen_process/-/teen_process-4.1.3.tgz",
339
+ "integrity": "sha512-8W7Xp7WtJ5ZXjv0iHMsCgPPKzUt6ACfG/rDWX0tMIlMJaYcTYsPw3ZQQ9+hG7YsY+gm+DUATiyah3AraJ9JYpg==",
340
+ "license": "Apache-2.0",
341
+ "dependencies": {
342
+ "shell-quote": "^1.8.1"
343
+ },
344
+ "engines": {
345
+ "node": "^20.19.0 || ^22.12.0 || >=24.0.0",
346
+ "npm": ">=10"
347
+ }
348
+ },
349
+ "node_modules/@appium/types": {
350
+ "version": "1.5.1",
351
+ "resolved": "https://registry.npmjs.org/@appium/types/-/types-1.5.1.tgz",
352
+ "integrity": "sha512-cQkbSh6AwEGlowfKBxVngtBc5fkqAPmg4WdjGZ2txa81lpfuNTLX50VWM8Nxf3hiCgRMsRVfBWdU9x38OJqDrQ==",
353
+ "license": "Apache-2.0",
354
+ "dependencies": {
355
+ "@appium/schema": "1.2.1",
356
+ "type-fest": "5.7.0"
357
+ },
358
+ "engines": {
359
+ "node": "^20.19.0 || ^22.12.0 || >=24.0.0",
360
+ "npm": ">=10"
361
+ },
362
+ "peerDependencies": {
363
+ "@appium/logger": "^2.0.0"
364
+ }
365
+ },
366
+ "node_modules/@colors/colors": {
367
+ "version": "1.6.0",
368
+ "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.6.0.tgz",
369
+ "integrity": "sha512-Ir+AOibqzrIsL6ajt3Rz3LskB7OiMVHqltZmspbW/TJuTVuyOMirVqAkjfY6JISiLHgyNqicAC8AyHHGzNd/dA==",
370
+ "license": "MIT",
371
+ "engines": {
372
+ "node": ">=0.1.90"
373
+ }
374
+ },
375
+ "node_modules/@dabh/diagnostics": {
376
+ "version": "2.0.8",
377
+ "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.8.tgz",
378
+ "integrity": "sha512-R4MSXTVnuMzGD7bzHdW2ZhhdPC/igELENcq5IjEverBvq5hn1SXCWcsi6eSsdWP0/Ur+SItRRjAktmdoX/8R/Q==",
379
+ "license": "MIT",
380
+ "dependencies": {
381
+ "@so-ric/colorspace": "^1.1.6",
382
+ "enabled": "2.0.x",
383
+ "kuler": "^2.0.0"
384
+ }
385
+ },
386
+ "node_modules/@emnapi/runtime": {
387
+ "version": "1.11.1",
388
+ "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.11.1.tgz",
389
+ "integrity": "sha512-vgj7R3y3Wgx24IQaGPA/R6YFXLHVMOZ0uVEyIQPaWs+rd1AzfEMXlAC22FYwO1XkKR6NPsq7mUandH8oIRdZFw==",
390
+ "extraneous": true,
391
+ "license": "MIT",
392
+ "dependencies": {
393
+ "tslib": "^2.4.0"
394
+ }
395
+ },
396
+ "node_modules/@img/colour": {
397
+ "version": "1.1.0",
398
+ "resolved": "https://registry.npmjs.org/@img/colour/-/colour-1.1.0.tgz",
399
+ "integrity": "sha512-Td76q7j57o/tLVdgS746cYARfSyxk8iEfRxewL9h4OMzYhbW4TAcppl0mT4eyqXddh6L/jwoM75mo7ixa/pCeQ==",
400
+ "devOptional": true,
401
+ "license": "MIT",
402
+ "engines": {
403
+ "node": ">=18"
404
+ }
405
+ },
335
406
  "node_modules/@so-ric/colorspace": {
336
407
  "version": "1.1.6",
337
408
  "resolved": "https://registry.npmjs.org/@so-ric/colorspace/-/colorspace-1.1.6.tgz",
@@ -423,9 +494,9 @@
423
494
  }
424
495
  },
425
496
  "node_modules/appium-ios-device": {
426
- "version": "3.1.14",
427
- "resolved": "https://registry.npmjs.org/appium-ios-device/-/appium-ios-device-3.1.14.tgz",
428
- "integrity": "sha512-fjqh1oPYQ2C4v96OLhom3HCK6j2NRO0TYOgZXtT9vEEjug/Z25NAjxlLnQLBe7aAHxR2c0V/SyFmLTEBs/Ih5A==",
497
+ "version": "3.1.15",
498
+ "resolved": "https://registry.npmjs.org/appium-ios-device/-/appium-ios-device-3.1.15.tgz",
499
+ "integrity": "sha512-NyUc71Fd5KDz03+4iZlhu/79HTa0sAF2Um1S1MkKOfkzCLLSlDxEwQe1wBPD/aCx1Ix+MeRD/mzUCQS1o3h/2Q==",
429
500
  "license": "Apache-2.0",
430
501
  "dependencies": {
431
502
  "@appium/support": "^7.2.2",
@@ -466,9 +537,9 @@
466
537
  }
467
538
  },
468
539
  "node_modules/appium-ios-simulator": {
469
- "version": "8.2.1",
470
- "resolved": "https://registry.npmjs.org/appium-ios-simulator/-/appium-ios-simulator-8.2.1.tgz",
471
- "integrity": "sha512-n2CRpfc56xsZbYrAmgACas+Liij4B1yYNH7PyNkMpS1vSFxu4pyD6hD9sF8vsxWSlyZ4dh78r14xnkzaTWuYsg==",
540
+ "version": "8.2.2",
541
+ "resolved": "https://registry.npmjs.org/appium-ios-simulator/-/appium-ios-simulator-8.2.2.tgz",
542
+ "integrity": "sha512-NmpbM+CpnSHNoEvCYWXkzvh+fhNd8pcYhpIirw/hvlVbZnG/Gs0Bw6+sU20uOw8O/uzziEgC6odogzpJ4AO70Q==",
472
543
  "license": "Apache-2.0",
473
544
  "dependencies": {
474
545
  "@appium/support": "^7.2.2",
@@ -504,9 +575,9 @@
504
575
  }
505
576
  },
506
577
  "node_modules/appium-remote-debugger": {
507
- "version": "15.10.4",
508
- "resolved": "https://registry.npmjs.org/appium-remote-debugger/-/appium-remote-debugger-15.10.4.tgz",
509
- "integrity": "sha512-M/hafP6/AFfCrHGYBbaJ957IP9GRk63QOj4OIQdR+LO8GEYX7bdloAeR+AnPZ/I/IZIYoCpih/JhpVNHDR2hsA==",
578
+ "version": "15.10.5",
579
+ "resolved": "https://registry.npmjs.org/appium-remote-debugger/-/appium-remote-debugger-15.10.5.tgz",
580
+ "integrity": "sha512-FV08kyPaCr3vyojGEXzH+ZJK2BtOABoLWj2PCdSDLyxrAVO5mU3OEl0Q6Wt36QTtlVV1BG6/WMg7przBxf1Z1Q==",
510
581
  "license": "Apache-2.0",
511
582
  "dependencies": {
512
583
  "@appium/base-driver": "^10.0.0-rc.1",
@@ -546,9 +617,9 @@
546
617
  }
547
618
  },
548
619
  "node_modules/appium-xcode": {
549
- "version": "6.2.2",
550
- "resolved": "https://registry.npmjs.org/appium-xcode/-/appium-xcode-6.2.2.tgz",
551
- "integrity": "sha512-THnFNNPW2M680OzSdyHHcvF46CusrvW+/t+zCvVA+MK/sO1AE22GIHoUScbl8HeRxVI9gf1SsXravNSh8OoNaA==",
620
+ "version": "6.2.3",
621
+ "resolved": "https://registry.npmjs.org/appium-xcode/-/appium-xcode-6.2.3.tgz",
622
+ "integrity": "sha512-3gWejSeYilKJ4LJ52EFzoTbuxnK1gfhfGK57c12SaRGKdEqSpas2BLl5p61BmvUAfQnITiVEtz8M0Aw7IP9Kfg==",
552
623
  "license": "Apache-2.0",
553
624
  "dependencies": {
554
625
  "@appium/support": "^7.2.2",
@@ -2433,9 +2504,9 @@
2433
2504
  }
2434
2505
  },
2435
2506
  "node_modules/node-simctl": {
2436
- "version": "8.2.3",
2437
- "resolved": "https://registry.npmjs.org/node-simctl/-/node-simctl-8.2.3.tgz",
2438
- "integrity": "sha512-udjYoXRsApFQP0fggKwGWFWUqinJKY11zIUmMxMv8Q4sfMLV0Uu9iavRUfiB3QOmJvL4WAXTaHv+tZvkiT+nyQ==",
2507
+ "version": "8.2.4",
2508
+ "resolved": "https://registry.npmjs.org/node-simctl/-/node-simctl-8.2.4.tgz",
2509
+ "integrity": "sha512-c2sgKgN7TUHE1o0/WJMLt1tqJKUCVzFL4m+I2WCQ06CgALDz1YaqHw1SR8SXHuHNJyRkuoWfHfCMXHFUcQEwpg==",
2439
2510
  "license": "Apache-2.0",
2440
2511
  "dependencies": {
2441
2512
  "@appium/logger": "^2.0.0-rc.1",
@@ -3099,51 +3170,6 @@
3099
3170
  "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==",
3100
3171
  "license": "ISC"
3101
3172
  },
3102
- "node_modules/sharp": {
3103
- "version": "0.35.1",
3104
- "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.35.1.tgz",
3105
- "integrity": "sha512-lW979AMi+ESidzMv/Lnv+F9bknzLyxLqFI05Sm433vOeRcltgxQmXpnfOOFIAlKtwXU/ksupm2srQoFCkR214g==",
3106
- "devOptional": true,
3107
- "license": "Apache-2.0",
3108
- "dependencies": {
3109
- "@img/colour": "^1.1.0",
3110
- "detect-libc": "^2.1.2",
3111
- "semver": "^7.8.4"
3112
- },
3113
- "engines": {
3114
- "node": ">=20.9.0"
3115
- },
3116
- "funding": {
3117
- "url": "https://opencollective.com/libvips"
3118
- },
3119
- "optionalDependencies": {
3120
- "@img/sharp-darwin-arm64": "0.35.1",
3121
- "@img/sharp-darwin-x64": "0.35.1",
3122
- "@img/sharp-freebsd-wasm32": "0.35.1",
3123
- "@img/sharp-libvips-darwin-arm64": "1.3.0",
3124
- "@img/sharp-libvips-darwin-x64": "1.3.0",
3125
- "@img/sharp-libvips-linux-arm": "1.3.0",
3126
- "@img/sharp-libvips-linux-arm64": "1.3.0",
3127
- "@img/sharp-libvips-linux-ppc64": "1.3.0",
3128
- "@img/sharp-libvips-linux-riscv64": "1.3.0",
3129
- "@img/sharp-libvips-linux-s390x": "1.3.0",
3130
- "@img/sharp-libvips-linux-x64": "1.3.0",
3131
- "@img/sharp-libvips-linuxmusl-arm64": "1.3.0",
3132
- "@img/sharp-libvips-linuxmusl-x64": "1.3.0",
3133
- "@img/sharp-linux-arm": "0.35.1",
3134
- "@img/sharp-linux-arm64": "0.35.1",
3135
- "@img/sharp-linux-ppc64": "0.35.1",
3136
- "@img/sharp-linux-riscv64": "0.35.1",
3137
- "@img/sharp-linux-s390x": "0.35.1",
3138
- "@img/sharp-linux-x64": "0.35.1",
3139
- "@img/sharp-linuxmusl-arm64": "0.35.1",
3140
- "@img/sharp-linuxmusl-x64": "0.35.1",
3141
- "@img/sharp-webcontainers-wasm32": "0.35.1",
3142
- "@img/sharp-win32-arm64": "0.35.1",
3143
- "@img/sharp-win32-ia32": "0.35.1",
3144
- "@img/sharp-win32-x64": "0.35.1"
3145
- }
3146
- },
3147
3173
  "node_modules/shebang-command": {
3148
3174
  "version": "2.0.0",
3149
3175
  "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
@@ -3461,9 +3487,9 @@
3461
3487
  }
3462
3488
  },
3463
3489
  "node_modules/teen_process": {
3464
- "version": "4.1.3",
3465
- "resolved": "https://registry.npmjs.org/teen_process/-/teen_process-4.1.3.tgz",
3466
- "integrity": "sha512-8W7Xp7WtJ5ZXjv0iHMsCgPPKzUt6ACfG/rDWX0tMIlMJaYcTYsPw3ZQQ9+hG7YsY+gm+DUATiyah3AraJ9JYpg==",
3490
+ "version": "4.1.5",
3491
+ "resolved": "https://registry.npmjs.org/teen_process/-/teen_process-4.1.5.tgz",
3492
+ "integrity": "sha512-XQ4MDij09YygEZyXD6QFKfWhAi7efiEQ4fM2ACNDgkj/LO5mZWi2bR5ghNEU232mMx4+MLrNwV95BV4S+4PGsg==",
3467
3493
  "license": "Apache-2.0",
3468
3494
  "dependencies": {
3469
3495
  "shell-quote": "^1.8.1"
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "xcuitest",
9
9
  "xctest"
10
10
  ],
11
- "version": "11.12.1",
11
+ "version": "11.12.2",
12
12
  "author": "Appium Contributors",
13
13
  "license": "Apache-2.0",
14
14
  "repository": {
@@ -892,6 +892,10 @@ function setupCleanupHandlers(tunnelCreator) {
892
892
  }
893
893
  }
894
894
  };
895
+ const cleanupAndExit = async () => {
896
+ await cleanupOnce();
897
+ process.exit(process.exitCode ?? 1);
898
+ };
895
899
 
896
900
  const shutdownSignals = ['SIGINT', 'SIGTERM', 'SIGHUP'];
897
901
  for (const signal of shutdownSignals) {
@@ -914,7 +918,7 @@ function setupCleanupHandlers(tunnelCreator) {
914
918
  if (process.exitCode == null) {
915
919
  process.exitCode = 1;
916
920
  }
917
- void cleanupOnce();
921
+ void cleanupAndExit();
918
922
  });
919
923
 
920
924
  process.on('uncaughtException', (err) => {
@@ -922,7 +926,7 @@ function setupCleanupHandlers(tunnelCreator) {
922
926
  if (process.exitCode == null) {
923
927
  process.exitCode = 1;
924
928
  }
925
- void cleanupOnce();
929
+ void cleanupAndExit();
926
930
  });
927
931
 
928
932
  return cleanupOnce;
@@ -1097,7 +1101,9 @@ async function main() {
1097
1101
  }
1098
1102
  } catch (err) {
1099
1103
  log.error('Error during tunnel setup:', err);
1104
+ process.exitCode = 1;
1100
1105
  await cleanupOnce();
1106
+ process.exit(process.exitCode);
1101
1107
  }
1102
1108
  }
1103
1109