@swmansion/argent 0.30.2-next.2 → 0.30.2-next.4
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/dist/cli-cmds.mjs +1 -1
- package/dist/installer.mjs +1 -1
- package/dist/ios-device-runner/ArgentRunner/ArgentRunner.xcodeproj/project.pbxproj +80 -0
- package/dist/ios-device-runner/ArgentRunner/ArgentRunner.xcodeproj/xcshareddata/xcschemes/ArgentRunner.xcscheme +14 -0
- package/dist/ios-device-runner/ArgentRunner/ArgentRunnerUITests/Assets.xcassets/AppIcon.appiconset/AppIcon.png +0 -0
- package/dist/ios-device-runner/ArgentRunner/ArgentRunnerUITests/Assets.xcassets/AppIcon.appiconset/Contents.json +14 -0
- package/dist/ios-device-runner/ArgentRunner/ArgentRunnerUITests/Assets.xcassets/Contents.json +6 -0
- package/dist/ios-device-runner/ArgentRunner/brand-runner.sh +27 -0
- package/dist/tool-server.cjs +1 -1
- package/package.json +1 -1
- package/skills/argent-ios-device-setup/SKILL.md +1 -1
package/dist/cli-cmds.mjs
CHANGED
|
@@ -35577,7 +35577,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
|
|
|
35577
35577
|
var SESSION_ID2 = randomUUID5();
|
|
35578
35578
|
function readCliVersion() {
|
|
35579
35579
|
if (true) {
|
|
35580
|
-
return "0.30.2-next.
|
|
35580
|
+
return "0.30.2-next.4";
|
|
35581
35581
|
}
|
|
35582
35582
|
return "0.0.0";
|
|
35583
35583
|
}
|
package/dist/installer.mjs
CHANGED
|
@@ -16899,7 +16899,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
|
|
|
16899
16899
|
var SESSION_ID = randomUUID4();
|
|
16900
16900
|
function readCliVersion() {
|
|
16901
16901
|
if (true) {
|
|
16902
|
-
return "0.30.2-next.
|
|
16902
|
+
return "0.30.2-next.4";
|
|
16903
16903
|
}
|
|
16904
16904
|
return "0.0.0";
|
|
16905
16905
|
}
|
|
@@ -6,6 +6,21 @@
|
|
|
6
6
|
objectVersion = 77;
|
|
7
7
|
objects = {
|
|
8
8
|
|
|
9
|
+
/* Begin PBXAggregateTarget section */
|
|
10
|
+
A00000000000000000000027 /* BrandRunner */ = {
|
|
11
|
+
isa = PBXAggregateTarget;
|
|
12
|
+
buildConfigurationList = A00000000000000000000028 /* Build configuration list for PBXAggregateTarget "BrandRunner" */;
|
|
13
|
+
buildPhases = (
|
|
14
|
+
A00000000000000000000031 /* Brand Runner App */,
|
|
15
|
+
);
|
|
16
|
+
dependencies = (
|
|
17
|
+
A00000000000000000000033 /* PBXTargetDependency */,
|
|
18
|
+
);
|
|
19
|
+
name = BrandRunner;
|
|
20
|
+
productName = BrandRunner;
|
|
21
|
+
};
|
|
22
|
+
/* End PBXAggregateTarget section */
|
|
23
|
+
|
|
9
24
|
/* Begin PBXContainerItemProxy section */
|
|
10
25
|
A00000000000000000000025 /* PBXContainerItemProxy */ = {
|
|
11
26
|
isa = PBXContainerItemProxy;
|
|
@@ -14,6 +29,13 @@
|
|
|
14
29
|
remoteGlobalIDString = A00000000000000000000011;
|
|
15
30
|
remoteInfo = ArgentRunner;
|
|
16
31
|
};
|
|
32
|
+
A00000000000000000000032 /* PBXContainerItemProxy */ = {
|
|
33
|
+
isa = PBXContainerItemProxy;
|
|
34
|
+
containerPortal = A00000000000000000000001 /* Project object */;
|
|
35
|
+
proxyType = 1;
|
|
36
|
+
remoteGlobalIDString = A00000000000000000000018;
|
|
37
|
+
remoteInfo = ArgentRunnerUITests;
|
|
38
|
+
};
|
|
17
39
|
/* End PBXContainerItemProxy section */
|
|
18
40
|
|
|
19
41
|
/* Begin PBXFileReference section */
|
|
@@ -134,6 +156,9 @@
|
|
|
134
156
|
CreatedOnToolsVersion = 26.0;
|
|
135
157
|
TestTargetID = A00000000000000000000011;
|
|
136
158
|
};
|
|
159
|
+
A00000000000000000000027 = {
|
|
160
|
+
CreatedOnToolsVersion = 26.0;
|
|
161
|
+
};
|
|
137
162
|
};
|
|
138
163
|
};
|
|
139
164
|
buildConfigurationList = A00000000000000000000002 /* Build configuration list for PBXProject "ArgentRunner" */;
|
|
@@ -152,6 +177,7 @@
|
|
|
152
177
|
targets = (
|
|
153
178
|
A00000000000000000000011 /* ArgentRunner */,
|
|
154
179
|
A00000000000000000000018 /* ArgentRunnerUITests */,
|
|
180
|
+
A00000000000000000000027 /* BrandRunner */,
|
|
155
181
|
);
|
|
156
182
|
};
|
|
157
183
|
/* End PBXProject section */
|
|
@@ -173,6 +199,28 @@
|
|
|
173
199
|
};
|
|
174
200
|
/* End PBXResourcesBuildPhase section */
|
|
175
201
|
|
|
202
|
+
/* Begin PBXShellScriptBuildPhase section */
|
|
203
|
+
A00000000000000000000031 /* Brand Runner App */ = {
|
|
204
|
+
isa = PBXShellScriptBuildPhase;
|
|
205
|
+
alwaysOutOfDate = 1;
|
|
206
|
+
buildActionMask = 2147483647;
|
|
207
|
+
files = (
|
|
208
|
+
);
|
|
209
|
+
inputFileListPaths = (
|
|
210
|
+
);
|
|
211
|
+
inputPaths = (
|
|
212
|
+
);
|
|
213
|
+
name = "Brand Runner App";
|
|
214
|
+
outputFileListPaths = (
|
|
215
|
+
);
|
|
216
|
+
outputPaths = (
|
|
217
|
+
);
|
|
218
|
+
runOnlyForDeploymentPostprocessing = 0;
|
|
219
|
+
shellPath = /bin/sh;
|
|
220
|
+
shellScript = "/bin/sh \"$SRCROOT/brand-runner.sh\"\n";
|
|
221
|
+
};
|
|
222
|
+
/* End PBXShellScriptBuildPhase section */
|
|
223
|
+
|
|
176
224
|
/* Begin PBXSourcesBuildPhase section */
|
|
177
225
|
A00000000000000000000015 /* Sources */ = {
|
|
178
226
|
isa = PBXSourcesBuildPhase;
|
|
@@ -196,6 +244,11 @@
|
|
|
196
244
|
target = A00000000000000000000011 /* ArgentRunner */;
|
|
197
245
|
targetProxy = A00000000000000000000025 /* PBXContainerItemProxy */;
|
|
198
246
|
};
|
|
247
|
+
A00000000000000000000033 /* PBXTargetDependency */ = {
|
|
248
|
+
isa = PBXTargetDependency;
|
|
249
|
+
target = A00000000000000000000018 /* ArgentRunnerUITests */;
|
|
250
|
+
targetProxy = A00000000000000000000032 /* PBXContainerItemProxy */;
|
|
251
|
+
};
|
|
199
252
|
/* End PBXTargetDependency section */
|
|
200
253
|
|
|
201
254
|
/* Begin XCBuildConfiguration section */
|
|
@@ -326,6 +379,7 @@
|
|
|
326
379
|
A00000000000000000000020 /* Debug */ = {
|
|
327
380
|
isa = XCBuildConfiguration;
|
|
328
381
|
buildSettings = {
|
|
382
|
+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
|
329
383
|
CODE_SIGN_STYLE = Automatic;
|
|
330
384
|
CURRENT_PROJECT_VERSION = 1;
|
|
331
385
|
GENERATE_INFOPLIST_FILE = YES;
|
|
@@ -341,6 +395,7 @@
|
|
|
341
395
|
A00000000000000000000021 /* Release */ = {
|
|
342
396
|
isa = XCBuildConfiguration;
|
|
343
397
|
buildSettings = {
|
|
398
|
+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
|
344
399
|
CODE_SIGN_STYLE = Automatic;
|
|
345
400
|
CURRENT_PROJECT_VERSION = 1;
|
|
346
401
|
GENERATE_INFOPLIST_FILE = YES;
|
|
@@ -353,6 +408,22 @@
|
|
|
353
408
|
};
|
|
354
409
|
name = Release;
|
|
355
410
|
};
|
|
411
|
+
A00000000000000000000029 /* Debug */ = {
|
|
412
|
+
isa = XCBuildConfiguration;
|
|
413
|
+
buildSettings = {
|
|
414
|
+
ENABLE_USER_SCRIPT_SANDBOXING = NO;
|
|
415
|
+
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
416
|
+
};
|
|
417
|
+
name = Debug;
|
|
418
|
+
};
|
|
419
|
+
A00000000000000000000030 /* Release */ = {
|
|
420
|
+
isa = XCBuildConfiguration;
|
|
421
|
+
buildSettings = {
|
|
422
|
+
ENABLE_USER_SCRIPT_SANDBOXING = NO;
|
|
423
|
+
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
424
|
+
};
|
|
425
|
+
name = Release;
|
|
426
|
+
};
|
|
356
427
|
/* End XCBuildConfiguration section */
|
|
357
428
|
|
|
358
429
|
/* Begin XCConfigurationList section */
|
|
@@ -383,6 +454,15 @@
|
|
|
383
454
|
defaultConfigurationIsVisible = 0;
|
|
384
455
|
defaultConfigurationName = Release;
|
|
385
456
|
};
|
|
457
|
+
A00000000000000000000028 /* Build configuration list for PBXAggregateTarget "BrandRunner" */ = {
|
|
458
|
+
isa = XCConfigurationList;
|
|
459
|
+
buildConfigurations = (
|
|
460
|
+
A00000000000000000000029 /* Debug */,
|
|
461
|
+
A00000000000000000000030 /* Release */,
|
|
462
|
+
);
|
|
463
|
+
defaultConfigurationIsVisible = 0;
|
|
464
|
+
defaultConfigurationName = Release;
|
|
465
|
+
};
|
|
386
466
|
/* End XCConfigurationList section */
|
|
387
467
|
};
|
|
388
468
|
rootObject = A00000000000000000000001 /* Project object */;
|
|
@@ -20,6 +20,20 @@
|
|
|
20
20
|
ReferencedContainer = "container:ArgentRunner.xcodeproj">
|
|
21
21
|
</BuildableReference>
|
|
22
22
|
</BuildActionEntry>
|
|
23
|
+
<BuildActionEntry
|
|
24
|
+
buildForTesting = "YES"
|
|
25
|
+
buildForRunning = "NO"
|
|
26
|
+
buildForProfiling = "NO"
|
|
27
|
+
buildForArchiving = "NO"
|
|
28
|
+
buildForAnalyzing = "NO">
|
|
29
|
+
<BuildableReference
|
|
30
|
+
BuildableIdentifier = "primary"
|
|
31
|
+
BlueprintIdentifier = "A00000000000000000000027"
|
|
32
|
+
BuildableName = "BrandRunner"
|
|
33
|
+
BlueprintName = "BrandRunner"
|
|
34
|
+
ReferencedContainer = "container:ArgentRunner.xcodeproj">
|
|
35
|
+
</BuildableReference>
|
|
36
|
+
</BuildActionEntry>
|
|
23
37
|
</BuildActionEntries>
|
|
24
38
|
</BuildAction>
|
|
25
39
|
<TestAction
|
|
Binary file
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
# Xcode assembles the runner app from its own template after the test target's
|
|
3
|
+
# build phases, so its name and icon are set here and the signature re-sealed.
|
|
4
|
+
set -eu
|
|
5
|
+
|
|
6
|
+
runner="$BUILT_PRODUCTS_DIR/ArgentRunnerUITests-Runner.app"
|
|
7
|
+
tests="$runner/PlugIns/ArgentRunnerUITests.xctest"
|
|
8
|
+
|
|
9
|
+
cp "$tests/Assets.car" "$tests/AppIcon60x60@2x.png" "$runner/"
|
|
10
|
+
plutil -replace CFBundleDisplayName -string "Argent Runner" "$runner/Info.plist"
|
|
11
|
+
plutil -replace CFBundleIcons -json "$(plutil -extract CFBundleIcons json -o - "$tests/Info.plist")" "$runner/Info.plist"
|
|
12
|
+
|
|
13
|
+
# Only a bundle Xcode signed has a seal; the template executable carries
|
|
14
|
+
# Apple's own signature even in an unsigned build.
|
|
15
|
+
[ -d "$runner/_CodeSignature" ] || exit 0
|
|
16
|
+
|
|
17
|
+
if codesign -dvv "$runner" 2>&1 | grep -q '^Signature=adhoc'; then
|
|
18
|
+
identity=-
|
|
19
|
+
else
|
|
20
|
+
rm -f "$TARGET_TEMP_DIR/runner-cert"*
|
|
21
|
+
mkdir -p "$TARGET_TEMP_DIR"
|
|
22
|
+
codesign -d --extract-certificates="$TARGET_TEMP_DIR/runner-cert" "$runner"
|
|
23
|
+
identity=$(shasum -a 1 < "$TARGET_TEMP_DIR/runner-cert0" | cut -d ' ' -f 1)
|
|
24
|
+
fi
|
|
25
|
+
|
|
26
|
+
codesign --force --sign "$identity" --timestamp=none --generate-entitlement-der \
|
|
27
|
+
--preserve-metadata=entitlements,requirements,flags "$runner"
|
package/dist/tool-server.cjs
CHANGED
|
@@ -100944,7 +100944,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
|
|
|
100944
100944
|
var SESSION_ID = (0, import_node_crypto3.randomUUID)();
|
|
100945
100945
|
function readCliVersion() {
|
|
100946
100946
|
if (true) {
|
|
100947
|
-
return "0.30.2-next.
|
|
100947
|
+
return "0.30.2-next.4";
|
|
100948
100948
|
}
|
|
100949
100949
|
return "0.0.0";
|
|
100950
100950
|
}
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@ Read this only for a physical iPhone. Simulators use `argent-ios-simulator-setup
|
|
|
11
11
|
|
|
12
12
|
1. Cable the phone, unlock it, keep the screen awake, and turn on Developer Mode (Settings > Privacy & Security > Developer Mode). `list-devices` must show it `connected`.
|
|
13
13
|
2. `launch-app` only registers the app. The first `describe`, gesture or `screenshot` builds, signs and starts the on-device runner: minutes cold, tens of seconds from cache or after a tool-server restart. Build cap 15 min, runner ready 120 s.
|
|
14
|
-
3. On the first install the phone asks to trust the developer (Settings > General > VPN & Device Management), and an **
|
|
14
|
+
3. On the first install the phone asks to trust the developer (Settings > General > VPN & Device Management), and an **Argent Runner** app appears on the home screen. Tell the user it is argent's automation runner and must stay installed.
|
|
15
15
|
|
|
16
16
|
## Signing and failures
|
|
17
17
|
|