appium-xcuitest-driver 12.13.3 → 12.14.0
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 +6 -0
- package/node_modules/@appium/coresim/CHANGELOG.md +27 -0
- package/node_modules/@appium/coresim/binding.gyp +0 -3
- package/node_modules/@appium/coresim/package.json +8 -15
- package/node_modules/@appium/coresim/prebuilds/darwin-arm64/@appium+coresim.node +0 -0
- package/node_modules/appium-ios-remotexpc/CHANGELOG.md +48 -0
- package/node_modules/appium-ios-remotexpc/README.md +22 -28
- package/node_modules/appium-ios-remotexpc/package.json +11 -25
- package/node_modules/appium-ios-remotexpc/scripts/tunnel-creation.mjs +284 -5
- package/node_modules/appium-ios-simulator/CHANGELOG.md +40 -0
- package/node_modules/appium-ios-simulator/README.md +23 -0
- package/node_modules/appium-ios-simulator/build/lib/extensions/orientation.d.ts +21 -0
- package/node_modules/appium-ios-simulator/build/lib/extensions/orientation.d.ts.map +1 -0
- package/node_modules/appium-ios-simulator/build/lib/extensions/orientation.js +18 -0
- package/node_modules/appium-ios-simulator/build/lib/extensions/orientation.js.map +1 -0
- package/node_modules/appium-ios-simulator/build/lib/extensions/settings.d.ts +7 -8
- package/node_modules/appium-ios-simulator/build/lib/extensions/settings.d.ts.map +1 -1
- package/node_modules/appium-ios-simulator/build/lib/extensions/settings.js +50 -8
- package/node_modules/appium-ios-simulator/build/lib/extensions/settings.js.map +1 -1
- package/node_modules/appium-ios-simulator/build/lib/native/ui-mappings.d.ts +3 -0
- package/node_modules/appium-ios-simulator/build/lib/native/ui-mappings.d.ts.map +1 -1
- package/node_modules/appium-ios-simulator/build/lib/native/ui-mappings.js +19 -0
- package/node_modules/appium-ios-simulator/build/lib/native/ui-mappings.js.map +1 -1
- package/node_modules/appium-ios-simulator/build/lib/simulator-xcode-15.d.ts.map +1 -1
- package/node_modules/appium-ios-simulator/build/lib/simulator-xcode-15.js +4 -0
- package/node_modules/appium-ios-simulator/build/lib/simulator-xcode-15.js.map +1 -1
- package/node_modules/appium-ios-simulator/build/lib/types.d.ts +40 -2
- package/node_modules/appium-ios-simulator/build/lib/types.d.ts.map +1 -1
- package/node_modules/appium-ios-simulator/lib/extensions/orientation.ts +30 -0
- package/node_modules/appium-ios-simulator/lib/extensions/settings.ts +73 -12
- package/node_modules/appium-ios-simulator/lib/native/ui-mappings.ts +25 -0
- package/node_modules/appium-ios-simulator/lib/simulator-xcode-15.ts +5 -0
- package/node_modules/appium-ios-simulator/lib/types.ts +43 -1
- package/node_modules/appium-ios-simulator/package.json +9 -16
- package/node_modules/appium-ios-tuntap/CHANGELOG.md +36 -0
- package/node_modules/appium-ios-tuntap/binding.gyp +0 -3
- package/node_modules/appium-ios-tuntap/lib/src/TunTap.d.ts.map +1 -1
- package/node_modules/appium-ios-tuntap/lib/src/TunTap.js +7 -3
- package/node_modules/appium-ios-tuntap/lib/src/TunTap.js.map +1 -1
- package/node_modules/appium-ios-tuntap/package.json +3 -3
- package/node_modules/appium-ios-tuntap/prebuilds/darwin-arm64/appium-ios-tuntap.node +0 -0
- package/node_modules/appium-ios-tuntap/prebuilds/win32-x64/appium-ios-tuntap.node +0 -0
- package/node_modules/appium-ios-tuntap/src/TunTap.ts +7 -3
- package/node_modules/appium-remote-debugger/CHANGELOG.md +120 -0
- package/node_modules/appium-remote-debugger/README.md +1 -1
- package/node_modules/appium-remote-debugger/package.json +11 -15
- package/node_modules/appium-webdriveragent/CHANGELOG.md +50 -0
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Categories/XCUIApplication+FBTouchAction.h +53 -0
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Categories/XCUIApplication+FBTouchAction.m +124 -0
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Categories/XCUIElement+FBFind.m +20 -7
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Categories/XCUIElement+FBUtilities.m +14 -11
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Commands/FBElementCommands.m +20 -5
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Info.plist +2 -2
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Routing/FBHTTPServer.m +39 -16
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Routing/FBTCPSocket.h +5 -1
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Routing/FBTCPSocket.m +10 -1
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Utilities/FBConfiguration.h +6 -0
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Utilities/FBConfiguration.m +1 -0
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Utilities/FBImageProcessor.m +3 -1
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Utilities/FBMjpegServer.m +2 -0
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Utilities/FBScreen.h +17 -0
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Utilities/FBScreen.m +32 -0
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Utilities/FBScreenshot.h +2 -2
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Utilities/FBScreenshot.m +6 -2
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Utilities/FBSettings.h +1 -0
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Utilities/FBSettings.m +1 -0
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Utilities/FBSettingsHandler.m +24 -0
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Utilities/FBXPath.m +181 -128
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Utilities/LRUCache/LRUCache.m +8 -5
- package/node_modules/appium-webdriveragent/WebDriverAgentLib/Utilities/LRUCache/LRUCacheNode.h +1 -1
- package/node_modules/appium-webdriveragent/WebDriverAgentTests/IntegrationApp/Classes/SceneDelegate.m +33 -0
- package/node_modules/appium-webdriveragent/WebDriverAgentTests/IntegrationTests/FBElementSwipingTests.m +95 -0
- package/node_modules/appium-webdriveragent/WebDriverAgentTests/IntegrationTests/FBImageProcessorTests.m +34 -0
- package/node_modules/appium-webdriveragent/WebDriverAgentTests/IntegrationTests/FBScreenTests.m +67 -0
- package/node_modules/appium-webdriveragent/WebDriverAgentTests/IntegrationTests/XCUIElementFBFindTests.m +113 -0
- package/node_modules/appium-webdriveragent/WebDriverAgentTests/UnitTests/FBElementUtilitiesTests.m +40 -0
- package/node_modules/appium-webdriveragent/WebDriverAgentTests/UnitTests/FBHTTPServerSessionTests.m +22 -4
- package/node_modules/appium-webdriveragent/WebDriverAgentTests/UnitTests/FBHTTPServerTests.m +176 -5
- package/node_modules/appium-webdriveragent/WebDriverAgentTests/UnitTests/FBLRUCacheTests.m +34 -0
- package/node_modules/appium-webdriveragent/WebDriverAgentTests/UnitTests/FBXPathTests.m +101 -0
- package/node_modules/appium-webdriveragent/build/lib/xcodebuild.d.ts +0 -1
- package/node_modules/appium-webdriveragent/build/lib/xcodebuild.d.ts.map +1 -1
- package/node_modules/appium-webdriveragent/build/lib/xcodebuild.js +7 -7
- package/node_modules/appium-webdriveragent/build/lib/xcodebuild.js.map +1 -1
- package/node_modules/appium-webdriveragent/lib/xcodebuild.ts +7 -7
- package/node_modules/appium-webdriveragent/package.json +1 -1
- package/node_modules/appium-xcode/CHANGELOG.md +23 -0
- package/node_modules/appium-xcode/package.json +3 -3
- package/node_modules/follow-redirects/index.js +10 -1
- package/node_modules/follow-redirects/package.json +1 -1
- package/node_modules/node-devicectl/CHANGELOG.md +20 -2
- package/node_modules/node-devicectl/build/lib/devicectl.d.ts +7 -0
- package/node_modules/node-devicectl/build/lib/devicectl.d.ts.map +1 -1
- package/node_modules/node-devicectl/build/lib/devicectl.js +14 -0
- package/node_modules/node-devicectl/build/lib/devicectl.js.map +1 -1
- package/node_modules/node-devicectl/build/lib/mixins/process.d.ts +5 -0
- package/node_modules/node-devicectl/build/lib/mixins/process.d.ts.map +1 -1
- package/node_modules/node-devicectl/build/lib/mixins/process.js +9 -1
- package/node_modules/node-devicectl/build/lib/mixins/process.js.map +1 -1
- package/node_modules/node-devicectl/lib/devicectl.ts +15 -0
- package/node_modules/node-devicectl/lib/mixins/process.ts +10 -1
- package/node_modules/node-devicectl/package.json +8 -12
- package/node_modules/tar-stream/package.json +7 -7
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## [12.14.0](https://github.com/appium/appium-xcuitest-driver/compare/v12.13.3...v12.14.0) (2026-10-03)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
* support simulatorPasteboardAutomaticSync and connect hardware preference for Device Hub ([#2999](https://github.com/appium/appium-xcuitest-driver/issues/2999)) ([3cda6b2](https://github.com/appium/appium-xcuitest-driver/commit/3cda6b203eaa9e497bc998748506ba75bc9e51f3))
|
|
6
|
+
|
|
1
7
|
## [12.13.3](https://github.com/appium/appium-xcuitest-driver/compare/v12.13.2...v12.13.3) (2026-09-28)
|
|
2
8
|
|
|
3
9
|
### Bug Fixes
|
|
@@ -1,3 +1,30 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
+
|
|
6
|
+
## [1.10.2](https://github.com/appium/appium-ios/compare/@appium/coresim@1.10.1...@appium/coresim@1.10.2) (2026-10-02)
|
|
7
|
+
|
|
8
|
+
### Miscellaneous Chores
|
|
9
|
+
|
|
10
|
+
* ensure Dependabot preserves version ranges ([#24](https://github.com/appium/appium-ios/issues/24)) ([95e4e1a](https://github.com/appium/appium-ios/commit/95e4e1a4703f8ca833f01ecf2af75f4696d98043))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
## [1.10.1](https://github.com/appium/appium-ios/compare/@appium/coresim@1.10.0...@appium/coresim@1.10.1) (2026-09-30)
|
|
14
|
+
|
|
15
|
+
**Note:** Version bump only for package @appium/coresim
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
## 1.10.0 (2026-09-29)
|
|
22
|
+
|
|
23
|
+
### Features
|
|
24
|
+
|
|
25
|
+
* move appium/coresim into the monorepo as packages/coresim ([#16](https://github.com/appium/appium-ios/issues/16)) ([a1acd55](https://github.com/appium/appium-ios/commit/a1acd556f716595d120bc2bf92b317ad84cbfad4))
|
|
26
|
+
|
|
27
|
+
|
|
1
28
|
## [1.9.0](https://github.com/appium/coresim/compare/v1.8.0...v1.9.0) (2026-09-27)
|
|
2
29
|
|
|
3
30
|
### Features
|
|
@@ -27,9 +27,6 @@
|
|
|
27
27
|
"include_dirs": [
|
|
28
28
|
"<!@(node -p \"require('node-addon-api').include\")"
|
|
29
29
|
],
|
|
30
|
-
"dependencies": [
|
|
31
|
-
"<!(node -p \"require('node-addon-api').gyp\")"
|
|
32
|
-
],
|
|
33
30
|
"cflags!": ["-fno-exceptions"],
|
|
34
31
|
"cflags_cc!": ["-fno-exceptions"],
|
|
35
32
|
"defines": ["NAPI_CPP_EXCEPTIONS", "NAPI_VERSION=8"],
|
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appium/coresim",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.2",
|
|
4
4
|
"description": "Native bindings to CoreSimulator.framework for Apple platform simulator control",
|
|
5
5
|
"bugs": {
|
|
6
|
-
"url": "https://github.com/appium/
|
|
6
|
+
"url": "https://github.com/appium/appium-ios/issues"
|
|
7
7
|
},
|
|
8
8
|
"license": "Apache-2.0",
|
|
9
|
-
"author":
|
|
10
|
-
"name": "Appium Contributors",
|
|
11
|
-
"url": "https://github.com/appium/coresim"
|
|
12
|
-
},
|
|
9
|
+
"author": "Appium Contributors",
|
|
13
10
|
"repository": {
|
|
14
11
|
"type": "git",
|
|
15
|
-
"url": "
|
|
12
|
+
"url": "https://github.com/appium/appium-ios.git",
|
|
13
|
+
"directory": "packages/coresim"
|
|
16
14
|
},
|
|
17
15
|
"files": [
|
|
18
16
|
"src",
|
|
@@ -38,11 +36,7 @@
|
|
|
38
36
|
"build:addon": "node-gyp rebuild",
|
|
39
37
|
"build:addon:xcodebuild": "node-gyp configure -- -f xcode && xcodebuild -project build/binding.xcodeproj -target coresim -configuration Release build",
|
|
40
38
|
"build:prebuilds": "prebuildify --napi --strip",
|
|
41
|
-
"lint": "oxlint -c oxlint.config.mjs .",
|
|
42
|
-
"lint:fix": "oxlint -c oxlint.config.mjs --fix .",
|
|
43
39
|
"lint:cpp": "npm run build:compile-commands && bash scripts/ci/lint-cpp.sh",
|
|
44
|
-
"format": "oxfmt -c oxfmt.config.mjs .",
|
|
45
|
-
"format:check": "oxfmt -c oxfmt.config.mjs --check .",
|
|
46
40
|
"format:cpp": "clang-format -i src/coresim.mm src/native/*.mm src/native/*.h",
|
|
47
41
|
"format:cpp:check": "clang-format --dry-run --Werror src/coresim.mm src/native/*.mm src/native/*.h",
|
|
48
42
|
"build:compile-commands": "node-gyp configure -- -f compile_commands_json",
|
|
@@ -59,15 +53,14 @@
|
|
|
59
53
|
"node-gyp-build": "^4.8.4"
|
|
60
54
|
},
|
|
61
55
|
"devDependencies": {
|
|
62
|
-
"@appium/oxc-config": "^1.1.0",
|
|
63
|
-
"@appium/semantic-release-config": "^1.1.0",
|
|
64
56
|
"@appium/tsconfig": "^1.2.0",
|
|
65
|
-
"@types/node": "^26.
|
|
57
|
+
"@types/node": "^26.6.3",
|
|
66
58
|
"prebuildify": "^6.0.1"
|
|
67
59
|
},
|
|
68
60
|
"engines": {
|
|
69
61
|
"node": "^20.19.0 || ^22.12.0 || >=24.0.0",
|
|
70
62
|
"npm": ">=10"
|
|
71
63
|
},
|
|
72
|
-
"gypfile": true
|
|
64
|
+
"gypfile": true,
|
|
65
|
+
"gitHead": "da9df509454bca268192150e4d3302d7f000a5c9"
|
|
73
66
|
}
|
|
Binary file
|
|
@@ -1,3 +1,51 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
+
|
|
6
|
+
## [5.24.4](https://github.com/appium/appium-ios/compare/appium-ios-remotexpc@5.24.3...appium-ios-remotexpc@5.24.4) (2026-10-03)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package appium-ios-remotexpc
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [5.24.3](https://github.com/appium/appium-ios/compare/appium-ios-remotexpc@5.24.2...appium-ios-remotexpc@5.24.3) (2026-10-02)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package appium-ios-remotexpc
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## [5.24.2](https://github.com/appium/appium-ios/compare/appium-ios-remotexpc@5.24.1...appium-ios-remotexpc@5.24.2) (2026-10-02)
|
|
23
|
+
|
|
24
|
+
### Bug Fixes
|
|
25
|
+
|
|
26
|
+
* add missing devicectl project reference in remotexpc tsconfig ([#30](https://github.com/appium/appium-ios/issues/30)) ([e4f65ea](https://github.com/appium/appium-ios/commit/e4f65eaa2de0201b2a1643eedf2df94fc231591c))
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
## [5.24.1](https://github.com/appium/appium-ios/compare/appium-ios-remotexpc@5.24.0...appium-ios-remotexpc@5.24.1) (2026-10-02)
|
|
30
|
+
|
|
31
|
+
### Miscellaneous Chores
|
|
32
|
+
|
|
33
|
+
* ensure Dependabot preserves version ranges ([#24](https://github.com/appium/appium-ios/issues/24)) ([95e4e1a](https://github.com/appium/appium-ios/commit/95e4e1a4703f8ca833f01ecf2af75f4696d98043))
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
## 5.24.0 (2026-10-01)
|
|
37
|
+
|
|
38
|
+
### Features
|
|
39
|
+
|
|
40
|
+
* move appium-ios-remotexpc into the monorepo as packages/remotexpc ([#22](https://github.com/appium/appium-ios/issues/22)) ([e448236](https://github.com/appium/appium-ios/commit/e4482360b4e1712d3522b28d3c4f0b4d7b576ca7))
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
## [5.23.0](https://github.com/appium/appium-ios-remotexpc/compare/v5.22.1...v5.23.0) (2026-10-01)
|
|
44
|
+
|
|
45
|
+
### Features
|
|
46
|
+
|
|
47
|
+
* **tunnel-creation:** add opt-in --watch-devices hot-plug handling ([#337](https://github.com/appium/appium-ios-remotexpc/issues/337)) ([eb7c885](https://github.com/appium/appium-ios-remotexpc/commit/eb7c885adaea2c7dc37f56b7a9151ac06541a298)), closes [Usbmux#_eventStreams](https://github.com/appium/Usbmux/issues/_eventStreams)
|
|
48
|
+
|
|
1
49
|
## [5.22.1](https://github.com/appium/appium-ios-remotexpc/compare/v5.22.0...v5.22.1) (2026-09-25)
|
|
2
50
|
|
|
3
51
|
### Bug Fixes
|
|
@@ -22,19 +22,6 @@ This library provides functionality for:
|
|
|
22
22
|
npm install appium-ios-remotexpc
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
-
### Optional: CodeGraph for local code navigation
|
|
26
|
-
|
|
27
|
-
If you want a local semantic index for this repository, you can install [CodeGraph](https://github.com/colbymchenry/codegraph) locally and initialize it in the repo:
|
|
28
|
-
|
|
29
|
-
```bash
|
|
30
|
-
curl -fsSL https://raw.githubusercontent.com/colbymchenry/codegraph/main/install.sh | sh
|
|
31
|
-
cd "<project folder>"
|
|
32
|
-
codegraph install
|
|
33
|
-
codegraph init
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
CodeGraph builds a local knowledge graph of symbols and call paths so AI coding agents, like Cursor or Claude, can answer questions and navigate the codebase faster with fewer file reads and reduced token consumption.
|
|
37
|
-
|
|
38
25
|
## Requirements
|
|
39
26
|
|
|
40
27
|
- Node.js 20 or later
|
|
@@ -183,30 +170,23 @@ For step-by-step pairing instructions, see the [Apple TV Pairing Instructions](d
|
|
|
183
170
|
### Setup
|
|
184
171
|
|
|
185
172
|
```bash
|
|
186
|
-
# Clone the
|
|
187
|
-
git clone https://github.com/
|
|
188
|
-
cd appium-ios
|
|
189
|
-
|
|
190
|
-
# Install dependencies
|
|
173
|
+
# Clone the monorepo and install dependencies
|
|
174
|
+
git clone https://github.com/appium/appium-ios.git
|
|
175
|
+
cd appium-ios
|
|
191
176
|
npm install
|
|
192
177
|
|
|
193
|
-
# Build
|
|
194
|
-
npm run build
|
|
178
|
+
# Build this package
|
|
179
|
+
npm run build --workspace appium-ios-remotexpc
|
|
195
180
|
```
|
|
196
181
|
|
|
197
182
|
### Continuous Integration
|
|
198
183
|
|
|
199
|
-
This
|
|
200
|
-
|
|
201
|
-
- **Lint and Build**: Automatically runs linting and builds the project on Node.js LTS.
|
|
202
|
-
- **Format Check**: Ensures code formatting adheres to project standards
|
|
203
|
-
- **Test Validation**: Validates that test files compile correctly (actual tests require physical devices)
|
|
204
|
-
- **Dependabot**: Automatically creates PRs for dependency updates weekly
|
|
205
|
-
|
|
206
|
-
All pull requests must pass these checks before merging. The workflows are defined in the `.github/workflows` directory.
|
|
184
|
+
This package is part of the [appium-ios](https://github.com/appium/appium-ios) monorepo and is covered by its root lint, format, build and unit-test workflows (see `.github/workflows`). Actual integration tests require physical devices and are not run in CI.
|
|
207
185
|
|
|
208
186
|
### Scripts
|
|
209
187
|
|
|
188
|
+
Run these from the monorepo root with `--workspace appium-ios-remotexpc`, or from `packages/remotexpc`.
|
|
189
|
+
|
|
210
190
|
- `npm run build` - Clean and build the project
|
|
211
191
|
- `npm run lint` - Run lint
|
|
212
192
|
- `npm run format` - Run format
|
|
@@ -218,6 +198,20 @@ CLI helpers under `scripts/` are ESM (`.mjs`) and load the library via the packa
|
|
|
218
198
|
|
|
219
199
|
- `npm run tunnel-creation` — Create USB tunnels and start the tunnel registry HTTP API (requires `sudo`)
|
|
220
200
|
- `npm run tunnel-creation -- --keep-open` — Same as above with `--keep-open` (for inspecting open sockets)
|
|
201
|
+
- `npm run tunnel-creation -- --watch-devices` — Keep running after startup, creating tunnels for devices attached later and removing detached ones (usbmux-visible devices only). Combine with `--udid` to watch a single device — startup then waits for it instead of requiring it to already be connected. Devices attached while watching use the same `--reconnect-retries` policy as devices found at startup; `--keep-open` applies independently.
|
|
202
|
+
|
|
203
|
+
`--watch-devices` combined with the other `tunnel-creation` flags:
|
|
204
|
+
|
|
205
|
+
| `--watch-devices` | `--reconnect-retries` | `--udid` | Behavior |
|
|
206
|
+
| ----------------- | --------------------- | -------- | -------- |
|
|
207
|
+
| off | off | any | Unchanged: devices are listed once at startup. A device attached later, or one whose tunnel drops, is not picked up until the script restarts. With `--udid`, exits with an error if that device isn't connected. |
|
|
208
|
+
| off | on | any | Unchanged: a dropped tunnel is retried up to N times (0 = unlimited). Detaching a device does not stop the retries. |
|
|
209
|
+
| on | off | none | Tunnels for all devices at startup, then for every device attached later. Detached devices lose their tunnel and registry entry. A dropped tunnel is not retried; unplugging and re-plugging the device creates a new one. |
|
|
210
|
+
| on | on | none | As above, and dropped tunnels are retried. Retries for a device stop as soon as it detaches. An attach during a retry is ignored; the retry loop picks the device up on its next attempt. |
|
|
211
|
+
| on | off | set | As "on / off / none", but only that UDID is watched (matched case-insensitively). Startup waits for it to attach instead of exiting if it isn't connected. |
|
|
212
|
+
| on | on | set | As "on / on / none", restricted to that UDID, with the same wait-at-startup behavior. |
|
|
213
|
+
|
|
214
|
+
In every `--watch-devices` row, if usbmuxd restarts the watcher resubscribes and removes devices that were unplugged in the meantime. `--keep-open` applies independently.
|
|
221
215
|
- `npm run pair-appletv` — Pair an Apple TV over WiFi for Remote XPC (requires `sudo`)
|
|
222
216
|
- `npm run start-appletv-tunnel` — Start an Apple TV WiFi tunnel and tunnel registry (requires `sudo`)
|
|
223
217
|
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "appium-ios-remotexpc",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.24.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"bugs": {
|
|
7
|
-
"url": "https://github.com/appium/appium-ios
|
|
7
|
+
"url": "https://github.com/appium/appium-ios/issues"
|
|
8
8
|
},
|
|
9
9
|
"license": "Apache-2.0",
|
|
10
10
|
"author": "Appium Contributors",
|
|
11
11
|
"repository": {
|
|
12
12
|
"type": "git",
|
|
13
|
-
"url": "
|
|
13
|
+
"url": "https://github.com/appium/appium-ios.git",
|
|
14
|
+
"directory": "packages/remotexpc"
|
|
14
15
|
},
|
|
15
16
|
"files": [
|
|
16
17
|
"src",
|
|
@@ -30,15 +31,11 @@
|
|
|
30
31
|
}
|
|
31
32
|
},
|
|
32
33
|
"scripts": {
|
|
33
|
-
"build:es": "tsc",
|
|
34
|
+
"build:es": "tsc -b",
|
|
34
35
|
"build": "npm run clean:build && npm run build:es",
|
|
35
36
|
"clean:build": "rimraf ./build",
|
|
36
|
-
"format:check": "oxfmt -c oxfmt.config.mjs --check .",
|
|
37
|
-
"format": "oxfmt -c oxfmt.config.mjs .",
|
|
38
|
-
"lint:fix": "oxlint -c oxlint.config.mjs --fix .",
|
|
39
|
-
"lint": "oxlint -c oxlint.config.mjs .",
|
|
40
37
|
"pair-appletv": "sudo node scripts/pair-appletv.mjs",
|
|
41
|
-
"prepare": "
|
|
38
|
+
"prepare": "npm run build",
|
|
42
39
|
"start-appletv-tunnel": "sudo node scripts/start-appletv-tunnel.mjs",
|
|
43
40
|
"test:afc-installation-workflow": "node --enable-source-maps --test --test-timeout=300000 \"build/test/integration/afc-installation-workflow.spec.js\"",
|
|
44
41
|
"test:afc-push-perf": "node --enable-source-maps --test --test-timeout=180000 \"build/test/integration/afc-push-performance.spec.js\"",
|
|
@@ -89,44 +86,33 @@
|
|
|
89
86
|
"test:webinspector": "node --enable-source-maps --test --test-timeout=60000 \"build/test/integration/webinspector.spec.js\"",
|
|
90
87
|
"test:zipconduit-install": "node --enable-source-maps --test --test-timeout=600000 \"build/test/integration/zipconduit-install.spec.js\"",
|
|
91
88
|
"test": "npm run test:unit",
|
|
92
|
-
"tunnel-creation": "sudo node scripts/tunnel-creation.mjs"
|
|
89
|
+
"tunnel-creation": "sudo node scripts/tunnel-creation.mjs",
|
|
90
|
+
"clean": "npm run clean:build"
|
|
93
91
|
},
|
|
94
92
|
"dependencies": {
|
|
95
93
|
"@appium/strongbox": "^2.0.0",
|
|
96
94
|
"@appium/support": "^7.2.6",
|
|
97
95
|
"@xmldom/xmldom": "^0.x",
|
|
98
|
-
"appium-ios-tuntap": "^2.
|
|
96
|
+
"appium-ios-tuntap": "^2.2.4",
|
|
99
97
|
"async-lock": "^1.4.1",
|
|
100
98
|
"axios": "^1.18.0",
|
|
101
99
|
"commander": "^14.0.1",
|
|
102
100
|
"minimatch": "^10.2.3",
|
|
103
|
-
"node-devicectl": "^2.
|
|
101
|
+
"node-devicectl": "^2.2.0",
|
|
104
102
|
"path-to-regexp": "^8.4.0"
|
|
105
103
|
},
|
|
106
104
|
"devDependencies": {
|
|
107
105
|
"@appium/oxc-config": "^1.1.0",
|
|
108
|
-
"@appium/semantic-release-config": "^1.1.0",
|
|
109
106
|
"@appium/tsconfig": "^1.2.0",
|
|
110
107
|
"@types/async-lock": "^1.4.2",
|
|
111
108
|
"@types/node": "^26.0.1",
|
|
112
109
|
"@types/sinon": "^22.0.0",
|
|
113
|
-
"husky": "^9.1.7",
|
|
114
|
-
"lint-staged": "^17.0.2",
|
|
115
110
|
"rimraf": "^6.0.1",
|
|
116
111
|
"sinon": "^22.0.0"
|
|
117
112
|
},
|
|
118
|
-
"lint-staged": {
|
|
119
|
-
"*.ts": [
|
|
120
|
-
"oxlint -c oxlint.config.mjs --fix",
|
|
121
|
-
"oxfmt -c oxfmt.config.mjs"
|
|
122
|
-
]
|
|
123
|
-
},
|
|
124
113
|
"engines": {
|
|
125
114
|
"node": "^20.19.0 || ^22.12.0 || >=24.0.0",
|
|
126
115
|
"npm": ">=10"
|
|
127
116
|
},
|
|
128
|
-
"
|
|
129
|
-
"appium-ios-tuntap": true,
|
|
130
|
-
"unrs-resolver": true
|
|
131
|
-
}
|
|
117
|
+
"gitHead": "859be1d7288d86b5b276e621c10dc43ac34b65c0"
|
|
132
118
|
}
|