mobridge-mcp 0.6.0 → 0.8.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/AI-USAGE.md +63 -0
- package/README.md +139 -99
- package/dist/main.obf.cjs +1 -1
- package/dist/protocol/platform-capabilities.json +1 -4
- package/dist/protocol/schemas/action.schema.json +3 -4
- package/dist/protocol/schemas/error.schema.json +2 -1
- package/dist/protocol/schemas/tools.schema.json +7 -2
- package/dist/protocol/schemas/tools.v2.schema.json +55 -0
- package/integrity.json +2 -2
- package/loader.cjs +6 -2
- package/package.json +6 -5
- package/resources/android/app-developer-release.apk +0 -0
- package/resources/ios/MobileSemantic/MobileSemantic.xcodeproj/project.pbxproj +0 -335
- package/resources/ios/MobileSemantic/MobileSemantic.xcodeproj/xcshareddata/xcschemes/MobileSemanticUITests.xcscheme +0 -68
- package/resources/ios/MobileSemantic/UITests/BridgeServer.swift +0 -319
- package/resources/ios/MobileSemantic/UITests/MSHID.h +0 -25
- package/resources/ios/MobileSemantic/UITests/MSHID.m +0 -155
- package/resources/ios/MobileSemantic/UITests/MobileSemanticUITests-Bridging.h +0 -2
- package/resources/ios/MobileSemantic/UITests/XcuiSnapshot.swift +0 -90
- package/resources/ios/MobileSemantic/gen_project.rb +0 -60
|
@@ -124,9 +124,6 @@
|
|
|
124
124
|
"reasonCode": "ANDROID_COMPANION_ONLY",
|
|
125
125
|
"note": "setup.status/open/verify are the Android companion's own permission centre. The Runner serves none of them; iOS setup is device.connect's provisioning path."
|
|
126
126
|
},
|
|
127
|
-
"mobile.app.control": {
|
|
128
|
-
"level": "FULL"
|
|
129
|
-
},
|
|
130
127
|
"mobile.screen.target": {
|
|
131
128
|
"level": "FULL",
|
|
132
129
|
"note": "Resolved host-side in TS (the Runner has no screen.target): ancestor-chain collapse when actionable:true."
|
|
@@ -265,4 +262,4 @@
|
|
|
265
262
|
}
|
|
266
263
|
}
|
|
267
264
|
}
|
|
268
|
-
}
|
|
265
|
+
}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
"appAction": {
|
|
18
18
|
"enum": ["APP_OPEN", "APP_DEEP_LINK", "APP_BRING_TO_FRONT", "APP_CLOSE_UI"],
|
|
19
|
-
"description": "APP_OPEN launches the launcher intent; APP_DEEP_LINK opens a URI; APP_BRING_TO_FRONT foregrounds an existing task; APP_CLOSE_UI = Back/Home and does NOT guarantee process death. Killing a process (force-stop) is a DESTRUCTIVE op and is
|
|
19
|
+
"description": "APP_OPEN launches the launcher intent; APP_DEEP_LINK opens a URI; APP_BRING_TO_FRONT foregrounds an existing task; APP_CLOSE_UI = Back/Home and does NOT guarantee process death. Killing a process (force-stop) is a DESTRUCTIVE op and is available only through mobile.app.forceStop for a package in the companion allowlist."
|
|
20
20
|
},
|
|
21
21
|
"verificationPolicy": {
|
|
22
22
|
"enum": [
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
},
|
|
94
94
|
"idempotencyKey": {
|
|
95
95
|
"type": ["string", "null"],
|
|
96
|
-
"description": "
|
|
96
|
+
"description": "Durable identity of one mutation, set by the host on every mutating device command. The companion journals it with a payload hash: same key + same payload replays the first outcome, same key + different payload is IDEMPOTENCY_MISMATCH, a key interrupted by a companion restart answers RESULT_UNKNOWN, a result no longer stored answers RESULT_EVICTED, and an intent that cannot be journaled answers MUTATION_JOURNAL_UNAVAILABLE. None of these ever re-executes the mutation."
|
|
97
97
|
},
|
|
98
98
|
"generation": {
|
|
99
99
|
"type": ["integer", "null"],
|
|
@@ -133,8 +133,7 @@
|
|
|
133
133
|
"properties": {
|
|
134
134
|
"status": { "$ref": "#/$defs/dispatchStatus" },
|
|
135
135
|
"method": { "$ref": "#/$defs/actionMethod" },
|
|
136
|
-
"
|
|
137
|
-
"fallbackType": { "enum": ["VISION_COORDINATE", "GESTURE", null], "default": null }
|
|
136
|
+
"transport": { "enum": ["accessibility", "adb"] }
|
|
138
137
|
}
|
|
139
138
|
},
|
|
140
139
|
"target": {
|
|
@@ -27,7 +27,8 @@
|
|
|
27
27
|
"SECURE_WINDOW", "NODE_NOT_FOUND", "AMBIGUOUS_MATCH", "STALE_NODE_REF",
|
|
28
28
|
"WEAK_REFERENCE_UNRESOLVABLE",
|
|
29
29
|
"ACTION_UNSUPPORTED", "ACTION_REJECTED", "NO_EFFECT", "VERIFY_TIMEOUT",
|
|
30
|
-
"VISION_REQUIRED", "POLICY_BLOCKED", "USER_CONFIRMATION_REQUIRED"
|
|
30
|
+
"VISION_REQUIRED", "POLICY_BLOCKED", "USER_CONFIRMATION_REQUIRED",
|
|
31
|
+
"RESULT_UNKNOWN", "RESULT_EVICTED", "IDEMPOTENCY_MISMATCH", "MUTATION_JOURNAL_UNAVAILABLE"
|
|
31
32
|
]
|
|
32
33
|
}
|
|
33
34
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "msm:tools.schema.json",
|
|
4
|
-
"title": "
|
|
5
|
-
"description": "
|
|
4
|
+
"title": "MoBridge internal tool I/O",
|
|
5
|
+
"description": "Internal compatibility definitions used by the Core Engine and regression tests. The public MCP 0.7 contract is protocol/schemas/tools.v2.schema.json and exposes exactly five tools.",
|
|
6
6
|
"$defs": {
|
|
7
7
|
"annotation": {
|
|
8
8
|
"enum": ["READ_ONLY", "REVERSIBLE", "SIDE_EFFECT", "DESTRUCTIVE"],
|
|
@@ -34,6 +34,10 @@
|
|
|
34
34
|
"sessionId": { "type": "string" },
|
|
35
35
|
"capabilities": { "type": "array", "items": { "type": "string" } },
|
|
36
36
|
"expiresInMinutes": { "type": "integer" },
|
|
37
|
+
"ready": { "type": "boolean" },
|
|
38
|
+
"blockers": { "type": "array", "items": { "type": "string" } },
|
|
39
|
+
"warnings": { "type": "array", "items": { "type": "string" } },
|
|
40
|
+
"health": { "type": "object", "additionalProperties": true, "description": "Compact health/preflight snapshot." },
|
|
37
41
|
"simulated": { "type": "boolean", "description": "TRUE when this session is the built-in fixture backend, not a real device. Nothing done in a simulated session reaches hardware." },
|
|
38
42
|
"warning": { "type": "string", "description": "Human-readable caveat about the session, e.g. that it is simulated and how to reach a real device." },
|
|
39
43
|
"platform": { "enum": ["ANDROID", "IOS"], "description": "Session platform. Optional for back-compat." },
|
|
@@ -59,6 +63,7 @@
|
|
|
59
63
|
"packageName": { "$ref": "msm:common.schema.json#/$defs/packageName" },
|
|
60
64
|
"bundleId": { "$ref": "msm:common.schema.json#/$defs/bundleId" },
|
|
61
65
|
"deepLink": { "type": "string" },
|
|
66
|
+
"activity": { "type": "string", "minLength": 1, "description": "Optional fully-qualified Activity class for deterministic deep-link routing when a package exposes multiple matching Activities." },
|
|
62
67
|
"expectPackage": {
|
|
63
68
|
"$ref": "msm:common.schema.json#/$defs/packageName",
|
|
64
69
|
"description": "The app you expect to be in front afterwards. Needed to VERIFY a deep link: without a packageName or this, the runtime has nothing to check the outcome against and returns CONDITION_UNKNOWN rather than guessing that any foreground change meant success."
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "msm:tools.v2.schema.json",
|
|
4
|
+
"title": "MoBridge MCP 0.7 public tool surface",
|
|
5
|
+
"description": "Frozen v2 public contract: exactly five MCP tools. Legacy tool definitions remain internal for migration tests only.",
|
|
6
|
+
"x-mobridge-protocol-version": "2",
|
|
7
|
+
"x-mobridge-public-tools": [
|
|
8
|
+
"mobile.device.connect",
|
|
9
|
+
"mobile.screen.observe",
|
|
10
|
+
"mobile.screen.act",
|
|
11
|
+
"mobile.screen.capture",
|
|
12
|
+
"mobile.run"
|
|
13
|
+
],
|
|
14
|
+
"$defs": {
|
|
15
|
+
"device": {
|
|
16
|
+
"type": "object",
|
|
17
|
+
"additionalProperties": false,
|
|
18
|
+
"properties": { "deviceId": { "type": "string" } }
|
|
19
|
+
},
|
|
20
|
+
"nodeRef": {
|
|
21
|
+
"type": "object",
|
|
22
|
+
"additionalProperties": false,
|
|
23
|
+
"required": ["snapshotId", "nodeId", "generation"],
|
|
24
|
+
"properties": {
|
|
25
|
+
"snapshotId": { "type": "string" },
|
|
26
|
+
"nodeId": { "type": "string" },
|
|
27
|
+
"generation": { "type": "integer" },
|
|
28
|
+
"fingerprint": { "type": "string" },
|
|
29
|
+
"locators": { "type": "array", "items": { "type": "object", "additionalProperties": true } }
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"verify": {
|
|
33
|
+
"type": "object",
|
|
34
|
+
"additionalProperties": false,
|
|
35
|
+
"properties": { "policy": { "type": "string" }, "timeoutMs": { "type": "integer", "minimum": 1 }, "expected": {} }
|
|
36
|
+
},
|
|
37
|
+
"screenAct": {
|
|
38
|
+
"type": "object",
|
|
39
|
+
"oneOf": [
|
|
40
|
+
{ "type": "object", "additionalProperties": false, "required": ["action"], "oneOf": [{ "required": ["target"] }, { "required": ["query"] }], "properties": { "action": { "const": "CLICK" }, "target": { "$ref": "#/$defs/nodeRef" }, "query": { "type": "object", "additionalProperties": true }, "verify": { "$ref": "#/$defs/verify" }, "deviceId": { "type": "string" } } },
|
|
41
|
+
{ "type": "object", "additionalProperties": false, "required": ["action", "text"], "oneOf": [{ "required": ["target"] }, { "required": ["query"] }], "properties": { "action": { "const": "SET_TEXT" }, "target": { "$ref": "#/$defs/nodeRef" }, "query": { "type": "object", "additionalProperties": true }, "text": { "type": "string" }, "verify": { "$ref": "#/$defs/verify" }, "deviceId": { "type": "string" } } },
|
|
42
|
+
{ "type": "object", "additionalProperties": false, "required": ["action", "direction"], "oneOf": [{ "required": ["target"] }, { "required": ["query"] }], "properties": { "action": { "const": "SCROLL" }, "target": { "$ref": "#/$defs/nodeRef" }, "query": { "type": "object", "additionalProperties": true }, "direction": { "enum": ["FORWARD", "BACKWARD"] }, "verify": { "$ref": "#/$defs/verify" }, "deviceId": { "type": "string" } } },
|
|
43
|
+
{ "type": "object", "additionalProperties": false, "required": ["action", "args"], "properties": { "action": { "const": "GESTURE" }, "args": { "type": "object", "additionalProperties": false, "required": ["kind", "x", "y"], "properties": { "kind": { "enum": ["TAP", "LONG_PRESS", "SWIPE", "DRAG", "PINCH_OPEN", "PINCH_CLOSE"] }, "x": { "type": "integer", "minimum": 0 }, "y": { "type": "integer", "minimum": 0 }, "x2": { "type": "integer", "minimum": 0 }, "y2": { "type": "integer", "minimum": 0 }, "durationMs": { "type": "integer", "minimum": 1 } } }, "verify": { "$ref": "#/$defs/verify" }, "deviceId": { "type": "string" } } },
|
|
44
|
+
{ "type": "object", "additionalProperties": false, "required": ["action", "key"], "properties": { "action": { "const": "KEY" }, "key": { "type": "string" }, "verify": { "$ref": "#/$defs/verify" }, "deviceId": { "type": "string" } } }
|
|
45
|
+
]
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"tools": {
|
|
49
|
+
"mobile.device.connect": { "type": "object", "additionalProperties": false, "properties": { "deviceId": { "type": "string" }, "platform": { "enum": ["android", "ios"] }, "mode": { "enum": ["simulator", "physical"] }, "udid": { "type": "string" }, "pairingCode": { "type": "string" } } },
|
|
50
|
+
"mobile.screen.observe": { "type": "object", "additionalProperties": false, "properties": { "deviceId": { "type": "string" }, "actionableOnly": { "type": "boolean" } } },
|
|
51
|
+
"mobile.screen.act": { "$ref": "#/$defs/screenAct" },
|
|
52
|
+
"mobile.screen.capture": { "type": "object", "additionalProperties": false, "properties": { "deviceId": { "type": "string" }, "preset": { "enum": ["ai", "thumbnail", "full"] }, "format": { "enum": ["png", "jpeg", "webp"] }, "returnBase64": { "type": "boolean" } } },
|
|
53
|
+
"mobile.run": { "type": "object", "additionalProperties": false, "required": ["plan"], "properties": { "deviceId": { "type": "string" }, "plan": { "type": "string" }, "waitUntil": { "type": "object", "additionalProperties": false, "required": ["condition"], "properties": { "condition": {}, "timeoutMs": { "type": "integer", "minimum": 1 }, "stableForMs": { "type": "integer", "minimum": 0 } } }, "allowFallback": { "type": "string" }, "resumeToken": { "type": "string" }, "resolvedNodeId": { "type": "string" }, "timeoutMs": { "type": "integer", "minimum": 1 } } }
|
|
54
|
+
}
|
|
55
|
+
}
|
package/integrity.json
CHANGED
package/loader.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
// npx entrypoint for mobridge
|
|
2
|
+
// npx entrypoint for the public mobridge binary. Tiny, NOT obfuscated (a few KB).
|
|
3
3
|
//
|
|
4
4
|
// Why compile-on-first-run instead of shipping a prebuilt .jsc: V8 cachedData is keyed
|
|
5
5
|
// to the EXACT V8 build, not the Node major — a prebuilt .jsc only runs on that one V8,
|
|
@@ -14,7 +14,9 @@ const os = require("node:os");
|
|
|
14
14
|
const path = require("node:path");
|
|
15
15
|
const crypto = require("node:crypto");
|
|
16
16
|
|
|
17
|
-
const BUILD_ID = "
|
|
17
|
+
const BUILD_ID = "d32205e-20261009012354"; // pack-npx stamps the real build id
|
|
18
|
+
// `mobridge-ad` is a second bin on this same loader and bundle (one buildId): it is `mobridge ad ...`.
|
|
19
|
+
if (path.basename(process.argv[1] || "").replace(/\.cjs$/, "") === "mobridge-ad") { process.argv.splice(2, 0, "ad"); process.argv[1] = __filename; }
|
|
18
20
|
const ROOT = __dirname; // package root (loader.cjs sits here)
|
|
19
21
|
const DIST = path.join(ROOT, "dist");
|
|
20
22
|
const BUNDLE = path.join(DIST, "main.obf.cjs");
|
|
@@ -23,6 +25,8 @@ const BUNDLE = path.join(DIST, "main.obf.cjs");
|
|
|
23
25
|
// once bundled/compiled — see src/assets.ts, src/install.ts, src/index.ts).
|
|
24
26
|
process.env.MOBRIDGE_PKG_ROOT = process.env.MOBRIDGE_PKG_ROOT || ROOT;
|
|
25
27
|
process.env.MOBRIDGE_DIST = process.env.MOBRIDGE_DIST || DIST;
|
|
28
|
+
// The daemon handshake compares this; runtimeBuildId() reads it instead of hashing files that a packaged build does not ship.
|
|
29
|
+
process.env.MOBRIDGE_BUILD_ID = BUILD_ID;
|
|
26
30
|
|
|
27
31
|
const die = (msg) => {
|
|
28
32
|
process.stderr.write(`[mobridge-mcp] ${msg}\n`);
|
package/package.json
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mobridge-mcp",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "MoBridge MCP — a stdio MCP server exposing on-device Android
|
|
3
|
+
"version": "0.8.0",
|
|
4
|
+
"description": "MoBridge MCP — a stdio MCP server exposing on-device Android UIs as fast semantic read / observe / find / act / verify tools plus screenshots. Ships an installer that wires it into Claude Code, Claude Desktop, Cursor and Codex.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mcp",
|
|
7
7
|
"model-context-protocol",
|
|
8
8
|
"android",
|
|
9
|
-
"ios",
|
|
10
9
|
"accessibility",
|
|
11
10
|
"ui-automation",
|
|
12
11
|
"claude",
|
|
@@ -15,7 +14,8 @@
|
|
|
15
14
|
],
|
|
16
15
|
"license": "UNLICENSED",
|
|
17
16
|
"bin": {
|
|
18
|
-
"mobridge
|
|
17
|
+
"mobridge": "loader.cjs",
|
|
18
|
+
"mobridge-ad": "loader.cjs"
|
|
19
19
|
},
|
|
20
20
|
"engines": {
|
|
21
21
|
"node": ">=18"
|
|
@@ -32,7 +32,8 @@
|
|
|
32
32
|
"dist",
|
|
33
33
|
"resources",
|
|
34
34
|
"integrity.json",
|
|
35
|
-
"README.md"
|
|
35
|
+
"README.md",
|
|
36
|
+
"AI-USAGE.md"
|
|
36
37
|
],
|
|
37
38
|
"publishConfig": {
|
|
38
39
|
"access": "public"
|
|
Binary file
|
|
@@ -1,335 +0,0 @@
|
|
|
1
|
-
// !$*UTF8*$!
|
|
2
|
-
{
|
|
3
|
-
archiveVersion = 1;
|
|
4
|
-
classes = {
|
|
5
|
-
};
|
|
6
|
-
objectVersion = 46;
|
|
7
|
-
objects = {
|
|
8
|
-
|
|
9
|
-
/* Begin PBXBuildFile section */
|
|
10
|
-
111CB9E03E58D3AF9776F299 /* XcuiSnapshot.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0D210FEBE873A89CF65EE4BF /* XcuiSnapshot.swift */; };
|
|
11
|
-
6CFB7730EF404B85870CB5D3 /* BridgeServer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 73E69CBBC10185C41ED42672 /* BridgeServer.swift */; };
|
|
12
|
-
89529E465EA77BF22E042D92 /* MSHID.m in Sources */ = {isa = PBXBuildFile; fileRef = C31354F034E846A6EBEF7293 /* MSHID.m */; };
|
|
13
|
-
AFCC335CBA7E67BC06E80A9C /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 42B0EE1889418C4D8FDF624A /* Foundation.framework */; };
|
|
14
|
-
/* End PBXBuildFile section */
|
|
15
|
-
|
|
16
|
-
/* Begin PBXFileReference section */
|
|
17
|
-
0D210FEBE873A89CF65EE4BF /* XcuiSnapshot.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = XcuiSnapshot.swift; sourceTree = "<group>"; };
|
|
18
|
-
42B0EE1889418C4D8FDF624A /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; };
|
|
19
|
-
73E69CBBC10185C41ED42672 /* BridgeServer.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = BridgeServer.swift; sourceTree = "<group>"; };
|
|
20
|
-
856F05A6278949BF622735FC /* MobileSemanticUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = MobileSemanticUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
21
|
-
C31354F034E846A6EBEF7293 /* MSHID.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = MSHID.m; sourceTree = "<group>"; };
|
|
22
|
-
/* End PBXFileReference section */
|
|
23
|
-
|
|
24
|
-
/* Begin PBXFrameworksBuildPhase section */
|
|
25
|
-
6300D56B3E0407E73E7D6106 /* Frameworks */ = {
|
|
26
|
-
isa = PBXFrameworksBuildPhase;
|
|
27
|
-
buildActionMask = 2147483647;
|
|
28
|
-
files = (
|
|
29
|
-
AFCC335CBA7E67BC06E80A9C /* Foundation.framework in Frameworks */,
|
|
30
|
-
);
|
|
31
|
-
runOnlyForDeploymentPostprocessing = 0;
|
|
32
|
-
};
|
|
33
|
-
/* End PBXFrameworksBuildPhase section */
|
|
34
|
-
|
|
35
|
-
/* Begin PBXGroup section */
|
|
36
|
-
3C68B8B7D0712B46413F7DBF /* Frameworks */ = {
|
|
37
|
-
isa = PBXGroup;
|
|
38
|
-
children = (
|
|
39
|
-
82F38E7C4F0D647701BD806A /* iOS */,
|
|
40
|
-
);
|
|
41
|
-
name = Frameworks;
|
|
42
|
-
sourceTree = "<group>";
|
|
43
|
-
};
|
|
44
|
-
82F38E7C4F0D647701BD806A /* iOS */ = {
|
|
45
|
-
isa = PBXGroup;
|
|
46
|
-
children = (
|
|
47
|
-
42B0EE1889418C4D8FDF624A /* Foundation.framework */,
|
|
48
|
-
);
|
|
49
|
-
name = iOS;
|
|
50
|
-
sourceTree = "<group>";
|
|
51
|
-
};
|
|
52
|
-
92F1C8E4EE7E276499FA2B27 = {
|
|
53
|
-
isa = PBXGroup;
|
|
54
|
-
children = (
|
|
55
|
-
B7852F36C24F18D297E3661F /* Products */,
|
|
56
|
-
3C68B8B7D0712B46413F7DBF /* Frameworks */,
|
|
57
|
-
FCA14C5F16FB3EB4FBBCAA07 /* UITests */,
|
|
58
|
-
);
|
|
59
|
-
sourceTree = "<group>";
|
|
60
|
-
};
|
|
61
|
-
B7852F36C24F18D297E3661F /* Products */ = {
|
|
62
|
-
isa = PBXGroup;
|
|
63
|
-
children = (
|
|
64
|
-
856F05A6278949BF622735FC /* MobileSemanticUITests.xctest */,
|
|
65
|
-
);
|
|
66
|
-
name = Products;
|
|
67
|
-
sourceTree = "<group>";
|
|
68
|
-
};
|
|
69
|
-
FCA14C5F16FB3EB4FBBCAA07 /* UITests */ = {
|
|
70
|
-
isa = PBXGroup;
|
|
71
|
-
children = (
|
|
72
|
-
73E69CBBC10185C41ED42672 /* BridgeServer.swift */,
|
|
73
|
-
C31354F034E846A6EBEF7293 /* MSHID.m */,
|
|
74
|
-
0D210FEBE873A89CF65EE4BF /* XcuiSnapshot.swift */,
|
|
75
|
-
);
|
|
76
|
-
name = UITests;
|
|
77
|
-
path = UITests;
|
|
78
|
-
sourceTree = "<group>";
|
|
79
|
-
};
|
|
80
|
-
/* End PBXGroup section */
|
|
81
|
-
|
|
82
|
-
/* Begin PBXNativeTarget section */
|
|
83
|
-
BE3E5D0613C424870172B786 /* MobileSemanticUITests */ = {
|
|
84
|
-
isa = PBXNativeTarget;
|
|
85
|
-
buildConfigurationList = 1B812AD25E485D0BC2236B07 /* Build configuration list for PBXNativeTarget "MobileSemanticUITests" */;
|
|
86
|
-
buildPhases = (
|
|
87
|
-
D69C6313F661C8A939B7611F /* Sources */,
|
|
88
|
-
6300D56B3E0407E73E7D6106 /* Frameworks */,
|
|
89
|
-
F70058BEADE07327BB3FBCB8 /* Resources */,
|
|
90
|
-
);
|
|
91
|
-
buildRules = (
|
|
92
|
-
);
|
|
93
|
-
dependencies = (
|
|
94
|
-
);
|
|
95
|
-
name = MobileSemanticUITests;
|
|
96
|
-
productName = MobileSemanticUITests;
|
|
97
|
-
productReference = 856F05A6278949BF622735FC /* MobileSemanticUITests.xctest */;
|
|
98
|
-
productType = "com.apple.product-type.bundle.ui-testing";
|
|
99
|
-
};
|
|
100
|
-
/* End PBXNativeTarget section */
|
|
101
|
-
|
|
102
|
-
/* Begin PBXProject section */
|
|
103
|
-
D58DC5719CAF833E00D4B642 /* Project object */ = {
|
|
104
|
-
isa = PBXProject;
|
|
105
|
-
attributes = {
|
|
106
|
-
LastSwiftUpdateCheck = 1500;
|
|
107
|
-
LastUpgradeCheck = 1500;
|
|
108
|
-
};
|
|
109
|
-
buildConfigurationList = BB8B27BE7C9C96B14ED5145B /* Build configuration list for PBXProject "MobileSemantic" */;
|
|
110
|
-
compatibilityVersion = "Xcode 3.2";
|
|
111
|
-
developmentRegion = en;
|
|
112
|
-
hasScannedForEncodings = 0;
|
|
113
|
-
knownRegions = (
|
|
114
|
-
en,
|
|
115
|
-
Base,
|
|
116
|
-
);
|
|
117
|
-
mainGroup = 92F1C8E4EE7E276499FA2B27;
|
|
118
|
-
productRefGroup = B7852F36C24F18D297E3661F /* Products */;
|
|
119
|
-
projectDirPath = "";
|
|
120
|
-
projectRoot = "";
|
|
121
|
-
targets = (
|
|
122
|
-
BE3E5D0613C424870172B786 /* MobileSemanticUITests */,
|
|
123
|
-
);
|
|
124
|
-
};
|
|
125
|
-
/* End PBXProject section */
|
|
126
|
-
|
|
127
|
-
/* Begin PBXResourcesBuildPhase section */
|
|
128
|
-
F70058BEADE07327BB3FBCB8 /* Resources */ = {
|
|
129
|
-
isa = PBXResourcesBuildPhase;
|
|
130
|
-
buildActionMask = 2147483647;
|
|
131
|
-
files = (
|
|
132
|
-
);
|
|
133
|
-
runOnlyForDeploymentPostprocessing = 0;
|
|
134
|
-
};
|
|
135
|
-
/* End PBXResourcesBuildPhase section */
|
|
136
|
-
|
|
137
|
-
/* Begin PBXSourcesBuildPhase section */
|
|
138
|
-
D69C6313F661C8A939B7611F /* Sources */ = {
|
|
139
|
-
isa = PBXSourcesBuildPhase;
|
|
140
|
-
buildActionMask = 2147483647;
|
|
141
|
-
files = (
|
|
142
|
-
6CFB7730EF404B85870CB5D3 /* BridgeServer.swift in Sources */,
|
|
143
|
-
89529E465EA77BF22E042D92 /* MSHID.m in Sources */,
|
|
144
|
-
111CB9E03E58D3AF9776F299 /* XcuiSnapshot.swift in Sources */,
|
|
145
|
-
);
|
|
146
|
-
runOnlyForDeploymentPostprocessing = 0;
|
|
147
|
-
};
|
|
148
|
-
/* End PBXSourcesBuildPhase section */
|
|
149
|
-
|
|
150
|
-
/* Begin XCBuildConfiguration section */
|
|
151
|
-
25E4EFAB93DED6DCD793FBF7 /* Release */ = {
|
|
152
|
-
isa = XCBuildConfiguration;
|
|
153
|
-
buildSettings = {
|
|
154
|
-
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
155
|
-
CLANG_ANALYZER_NONNULL = YES;
|
|
156
|
-
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
|
|
157
|
-
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
|
|
158
|
-
CLANG_CXX_LIBRARY = "libc++";
|
|
159
|
-
CLANG_ENABLE_MODULES = YES;
|
|
160
|
-
CLANG_ENABLE_OBJC_ARC = YES;
|
|
161
|
-
CLANG_ENABLE_OBJC_WEAK = YES;
|
|
162
|
-
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
|
163
|
-
CLANG_WARN_BOOL_CONVERSION = YES;
|
|
164
|
-
CLANG_WARN_COMMA = YES;
|
|
165
|
-
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
|
166
|
-
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
|
|
167
|
-
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
|
168
|
-
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
|
|
169
|
-
CLANG_WARN_EMPTY_BODY = YES;
|
|
170
|
-
CLANG_WARN_ENUM_CONVERSION = YES;
|
|
171
|
-
CLANG_WARN_INFINITE_RECURSION = YES;
|
|
172
|
-
CLANG_WARN_INT_CONVERSION = YES;
|
|
173
|
-
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
|
174
|
-
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
|
175
|
-
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
|
176
|
-
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
|
177
|
-
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
|
|
178
|
-
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
|
179
|
-
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
|
180
|
-
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
|
181
|
-
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
|
|
182
|
-
CLANG_WARN_UNREACHABLE_CODE = YES;
|
|
183
|
-
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
184
|
-
COPY_PHASE_STRIP = NO;
|
|
185
|
-
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
|
186
|
-
ENABLE_NS_ASSERTIONS = NO;
|
|
187
|
-
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
|
188
|
-
GCC_C_LANGUAGE_STANDARD = gnu11;
|
|
189
|
-
GCC_NO_COMMON_BLOCKS = YES;
|
|
190
|
-
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
|
191
|
-
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
|
192
|
-
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
|
193
|
-
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
194
|
-
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
195
|
-
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
196
|
-
MTL_ENABLE_DEBUG_INFO = NO;
|
|
197
|
-
MTL_FAST_MATH = YES;
|
|
198
|
-
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
199
|
-
SWIFT_COMPILATION_MODE = wholemodule;
|
|
200
|
-
SWIFT_OPTIMIZATION_LEVEL = "-O";
|
|
201
|
-
SWIFT_VERSION = 5.0;
|
|
202
|
-
};
|
|
203
|
-
name = Release;
|
|
204
|
-
};
|
|
205
|
-
349CE341102BBF4F194A12D5 /* Debug */ = {
|
|
206
|
-
isa = XCBuildConfiguration;
|
|
207
|
-
buildSettings = {
|
|
208
|
-
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
209
|
-
CLANG_ANALYZER_NONNULL = YES;
|
|
210
|
-
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
|
|
211
|
-
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
|
|
212
|
-
CLANG_CXX_LIBRARY = "libc++";
|
|
213
|
-
CLANG_ENABLE_MODULES = YES;
|
|
214
|
-
CLANG_ENABLE_OBJC_ARC = YES;
|
|
215
|
-
CLANG_ENABLE_OBJC_WEAK = YES;
|
|
216
|
-
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
|
217
|
-
CLANG_WARN_BOOL_CONVERSION = YES;
|
|
218
|
-
CLANG_WARN_COMMA = YES;
|
|
219
|
-
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
|
220
|
-
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
|
|
221
|
-
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
|
222
|
-
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
|
|
223
|
-
CLANG_WARN_EMPTY_BODY = YES;
|
|
224
|
-
CLANG_WARN_ENUM_CONVERSION = YES;
|
|
225
|
-
CLANG_WARN_INFINITE_RECURSION = YES;
|
|
226
|
-
CLANG_WARN_INT_CONVERSION = YES;
|
|
227
|
-
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
|
228
|
-
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
|
229
|
-
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
|
230
|
-
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
|
231
|
-
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
|
|
232
|
-
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
|
233
|
-
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
|
234
|
-
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
|
235
|
-
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
|
|
236
|
-
CLANG_WARN_UNREACHABLE_CODE = YES;
|
|
237
|
-
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
238
|
-
COPY_PHASE_STRIP = NO;
|
|
239
|
-
DEBUG_INFORMATION_FORMAT = dwarf;
|
|
240
|
-
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
|
241
|
-
ENABLE_TESTABILITY = YES;
|
|
242
|
-
GCC_C_LANGUAGE_STANDARD = gnu11;
|
|
243
|
-
GCC_DYNAMIC_NO_PIC = NO;
|
|
244
|
-
GCC_NO_COMMON_BLOCKS = YES;
|
|
245
|
-
GCC_OPTIMIZATION_LEVEL = 0;
|
|
246
|
-
GCC_PREPROCESSOR_DEFINITIONS = (
|
|
247
|
-
"DEBUG=1",
|
|
248
|
-
"$(inherited)",
|
|
249
|
-
);
|
|
250
|
-
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
|
251
|
-
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
|
252
|
-
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
|
253
|
-
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
254
|
-
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
255
|
-
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
256
|
-
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
|
|
257
|
-
MTL_FAST_MATH = YES;
|
|
258
|
-
ONLY_ACTIVE_ARCH = YES;
|
|
259
|
-
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
260
|
-
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
|
|
261
|
-
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
|
262
|
-
SWIFT_VERSION = 5.0;
|
|
263
|
-
};
|
|
264
|
-
name = Debug;
|
|
265
|
-
};
|
|
266
|
-
7B7B07B578C57AA5F29713E5 /* Release */ = {
|
|
267
|
-
isa = XCBuildConfiguration;
|
|
268
|
-
buildSettings = {
|
|
269
|
-
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
270
|
-
CLANG_ENABLE_MODULES = YES;
|
|
271
|
-
CLANG_ENABLE_OBJC_WEAK = NO;
|
|
272
|
-
"CODE_SIGNING_ALLOWED[sdk=iphonesimulator*]" = NO;
|
|
273
|
-
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Development";
|
|
274
|
-
CODE_SIGN_STYLE = Automatic;
|
|
275
|
-
CURRENT_PROJECT_VERSION = 1;
|
|
276
|
-
DEVELOPMENT_TEAM = A2KNU2X4F7;
|
|
277
|
-
GENERATE_INFOPLIST_FILE = YES;
|
|
278
|
-
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
|
|
279
|
-
MARKETING_VERSION = 1.0;
|
|
280
|
-
PRODUCT_BUNDLE_IDENTIFIER = com.msm.MobileSemanticUITests;
|
|
281
|
-
SDKROOT = iphoneos;
|
|
282
|
-
SWIFT_INSTALL_OBJC_HEADER = NO;
|
|
283
|
-
SWIFT_OBJC_BRIDGING_HEADER = "UITests/MobileSemanticUITests-Bridging.h";
|
|
284
|
-
SWIFT_VERSION = 5.0;
|
|
285
|
-
VALIDATE_PRODUCT = YES;
|
|
286
|
-
};
|
|
287
|
-
name = Release;
|
|
288
|
-
};
|
|
289
|
-
9E72DFEEB7EC8CFB476490C6 /* Debug */ = {
|
|
290
|
-
isa = XCBuildConfiguration;
|
|
291
|
-
buildSettings = {
|
|
292
|
-
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
293
|
-
CLANG_ENABLE_MODULES = YES;
|
|
294
|
-
CLANG_ENABLE_OBJC_WEAK = NO;
|
|
295
|
-
"CODE_SIGNING_ALLOWED[sdk=iphonesimulator*]" = NO;
|
|
296
|
-
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Development";
|
|
297
|
-
CODE_SIGN_STYLE = Automatic;
|
|
298
|
-
CURRENT_PROJECT_VERSION = 1;
|
|
299
|
-
DEVELOPMENT_TEAM = A2KNU2X4F7;
|
|
300
|
-
GENERATE_INFOPLIST_FILE = YES;
|
|
301
|
-
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
|
|
302
|
-
MARKETING_VERSION = 1.0;
|
|
303
|
-
PRODUCT_BUNDLE_IDENTIFIER = com.msm.MobileSemanticUITests;
|
|
304
|
-
SDKROOT = iphoneos;
|
|
305
|
-
SWIFT_INSTALL_OBJC_HEADER = NO;
|
|
306
|
-
SWIFT_OBJC_BRIDGING_HEADER = "UITests/MobileSemanticUITests-Bridging.h";
|
|
307
|
-
SWIFT_VERSION = 5.0;
|
|
308
|
-
};
|
|
309
|
-
name = Debug;
|
|
310
|
-
};
|
|
311
|
-
/* End XCBuildConfiguration section */
|
|
312
|
-
|
|
313
|
-
/* Begin XCConfigurationList section */
|
|
314
|
-
1B812AD25E485D0BC2236B07 /* Build configuration list for PBXNativeTarget "MobileSemanticUITests" */ = {
|
|
315
|
-
isa = XCConfigurationList;
|
|
316
|
-
buildConfigurations = (
|
|
317
|
-
7B7B07B578C57AA5F29713E5 /* Release */,
|
|
318
|
-
9E72DFEEB7EC8CFB476490C6 /* Debug */,
|
|
319
|
-
);
|
|
320
|
-
defaultConfigurationIsVisible = 0;
|
|
321
|
-
defaultConfigurationName = Release;
|
|
322
|
-
};
|
|
323
|
-
BB8B27BE7C9C96B14ED5145B /* Build configuration list for PBXProject "MobileSemantic" */ = {
|
|
324
|
-
isa = XCConfigurationList;
|
|
325
|
-
buildConfigurations = (
|
|
326
|
-
349CE341102BBF4F194A12D5 /* Debug */,
|
|
327
|
-
25E4EFAB93DED6DCD793FBF7 /* Release */,
|
|
328
|
-
);
|
|
329
|
-
defaultConfigurationIsVisible = 0;
|
|
330
|
-
defaultConfigurationName = Release;
|
|
331
|
-
};
|
|
332
|
-
/* End XCConfigurationList section */
|
|
333
|
-
};
|
|
334
|
-
rootObject = D58DC5719CAF833E00D4B642 /* Project object */;
|
|
335
|
-
}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<Scheme
|
|
3
|
-
LastUpgradeVersion = "1500"
|
|
4
|
-
version = "1.3">
|
|
5
|
-
<BuildAction
|
|
6
|
-
parallelizeBuildables = "YES"
|
|
7
|
-
buildImplicitDependencies = "YES">
|
|
8
|
-
<BuildActionEntries>
|
|
9
|
-
<BuildActionEntry
|
|
10
|
-
buildForTesting = "YES"
|
|
11
|
-
buildForRunning = "YES"
|
|
12
|
-
buildForProfiling = "YES"
|
|
13
|
-
buildForArchiving = "YES"
|
|
14
|
-
buildForAnalyzing = "YES">
|
|
15
|
-
<BuildableReference
|
|
16
|
-
BuildableIdentifier = "primary"
|
|
17
|
-
BlueprintIdentifier = "BE3E5D0613C424870172B786"
|
|
18
|
-
BuildableName = "MobileSemanticUITests.xctest"
|
|
19
|
-
BlueprintName = "MobileSemanticUITests"
|
|
20
|
-
ReferencedContainer = "container:MobileSemantic.xcodeproj">
|
|
21
|
-
</BuildableReference>
|
|
22
|
-
</BuildActionEntry>
|
|
23
|
-
</BuildActionEntries>
|
|
24
|
-
</BuildAction>
|
|
25
|
-
<TestAction
|
|
26
|
-
buildConfiguration = "Debug"
|
|
27
|
-
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
|
28
|
-
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
|
29
|
-
shouldUseLaunchSchemeArgsEnv = "YES">
|
|
30
|
-
<Testables>
|
|
31
|
-
<TestableReference
|
|
32
|
-
skipped = "NO">
|
|
33
|
-
<BuildableReference
|
|
34
|
-
BuildableIdentifier = "primary"
|
|
35
|
-
BlueprintIdentifier = "BE3E5D0613C424870172B786"
|
|
36
|
-
BuildableName = "MobileSemanticUITests.xctest"
|
|
37
|
-
BlueprintName = "MobileSemanticUITests"
|
|
38
|
-
ReferencedContainer = "container:MobileSemantic.xcodeproj">
|
|
39
|
-
</BuildableReference>
|
|
40
|
-
</TestableReference>
|
|
41
|
-
</Testables>
|
|
42
|
-
</TestAction>
|
|
43
|
-
<LaunchAction
|
|
44
|
-
buildConfiguration = "Debug"
|
|
45
|
-
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
|
46
|
-
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
|
47
|
-
launchStyle = "0"
|
|
48
|
-
useCustomWorkingDirectory = "NO"
|
|
49
|
-
ignoresPersistentStateOnLaunch = "NO"
|
|
50
|
-
debugDocumentVersioning = "YES"
|
|
51
|
-
debugServiceExtension = "internal"
|
|
52
|
-
allowLocationSimulation = "YES">
|
|
53
|
-
</LaunchAction>
|
|
54
|
-
<ProfileAction
|
|
55
|
-
buildConfiguration = "Release"
|
|
56
|
-
shouldUseLaunchSchemeArgsEnv = "YES"
|
|
57
|
-
savedToolIdentifier = ""
|
|
58
|
-
useCustomWorkingDirectory = "NO"
|
|
59
|
-
debugDocumentVersioning = "YES">
|
|
60
|
-
</ProfileAction>
|
|
61
|
-
<AnalyzeAction
|
|
62
|
-
buildConfiguration = "Debug">
|
|
63
|
-
</AnalyzeAction>
|
|
64
|
-
<ArchiveAction
|
|
65
|
-
buildConfiguration = "Release"
|
|
66
|
-
revealArchiveInOrganizer = "YES">
|
|
67
|
-
</ArchiveAction>
|
|
68
|
-
</Scheme>
|