xcodebuild-axi 0.1.3 → 0.1.5

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
@@ -6,6 +6,63 @@ Notable changes to `xcodebuild-axi`. Versions follow
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.1.5] - 2026-09-21
10
+
11
+ ### Added
12
+
13
+ - `--artifacts-dir <path>` on the build family (`build`, `test`, `analyze`,
14
+ `archive`, `tests`), choosing where a run's log and `.xcresult` land. The
15
+ default is unchanged.
16
+
17
+ CI could not collect either one. `artifactDir()` is hardcoded under
18
+ `~/Library/Caches/xcodebuild-axi/`, which is right for an interactive agent
19
+ and wrong for a workflow that ends in
20
+ `upload-artifact: path: build/` -- point such a job at this tool and a red run
21
+ silently uploads nothing, losing the one output worth reading. A relative path
22
+ resolves against the working directory, so `--artifacts-dir build/` means the
23
+ checked-out workspace.
24
+
25
+ ### Changed
26
+
27
+ - `-resultBundlePath` moves from "reachable without a flag" to **exposed** in
28
+ the coverage table. The reasoning it carried still holds -- the tool writes
29
+ the bundle and reads its report back -- it just no longer insists on choosing
30
+ the location.
31
+
32
+ ## [0.1.4] - 2026-09-21
33
+
34
+ ### Added
35
+
36
+ - `settings` takes `--device`, `--destination` and `--sdk`. Build settings are
37
+ destination-dependent, and without one xcodebuild resolves against the
38
+ default _device_ SDK -- so `BUILT_PRODUCTS_DIR` came back under
39
+ `Debug-iphoneos` while `build` and `test` default to a simulator. There was
40
+ no flag to ask otherwise, which made `settings` the wrong way to locate a
41
+ simulator `.app`, silently.
42
+
43
+ ### Changed
44
+
45
+ - `settings` reports `platform:` alongside the scheme, so an answer always
46
+ names the destination it is for. The default is unchanged -- still the
47
+ device SDK -- but it no longer looks like the simulator one.
48
+
49
+ ### Fixed
50
+
51
+ - `result` reported a **build** bundle as a test run: `result: unknown`,
52
+ `title: Test - MyApp`, `0 passed / 0 failed`, on an `unknown` destination.
53
+ This is the same misread 0.1.2 fixed in the home view, in the second place it
54
+ lives -- and 0.1.2 made it easier to reach rather than harder, because the
55
+ home view now prints `see \`xcodebuild-axi result <path>\`` and that command
56
+ then gave the wrong answer.
57
+
58
+ `home.ts` discriminates on the name `runLabel` gave the bundle, which `result`
59
+ cannot do: it takes an arbitrary path, and its own help offers
60
+ `build/MyApp.xcresult`. So `result` gates the verdict path on the bundle
61
+ having actually recorded tests, and reports anything else from
62
+ `build-results`, which carries the real `actionTitle`, `status` and
63
+ `destination`. A build now reads `result: succeeded`, `title: Build "MyApp"`,
64
+ with the device it landed on.
65
+
9
66
  ## [0.1.3] - 2026-09-21
10
67
 
11
68
  ### Fixed
@@ -75,7 +132,9 @@ First release.
75
132
  - 100% of the 117 options `xcodebuild -help` lists are covered, declared in
76
133
  `src/surface.ts` and checked against the installed Xcode in CI.
77
134
 
78
- [unreleased]: https://github.com/alexrrouse/xcodebuild-axi/compare/v0.1.3...HEAD
135
+ [unreleased]: https://github.com/alexrrouse/xcodebuild-axi/compare/v0.1.5...HEAD
136
+ [0.1.5]: https://github.com/alexrrouse/xcodebuild-axi/compare/v0.1.4...v0.1.5
137
+ [0.1.4]: https://github.com/alexrrouse/xcodebuild-axi/compare/v0.1.3...v0.1.4
79
138
  [0.1.3]: https://github.com/alexrrouse/xcodebuild-axi/compare/v0.1.2...v0.1.3
80
139
  [0.1.2]: https://github.com/alexrrouse/xcodebuild-axi/compare/v0.1.1...v0.1.2
81
140
  [0.1.1]: https://github.com/alexrrouse/xcodebuild-axi/compare/v0.1.0...v0.1.1
package/README.md CHANGED
@@ -173,20 +173,19 @@ Every command takes `--help`.
173
173
 
174
174
  **Coverage: 100% — every one of the 117 options `xcodebuild -help` lists, and 9 of its 10 build actions.**
175
175
 
176
- 107 options map to an `xcodebuild-axi` flag. The other 10 are reachable without one:
177
-
178
- | Option | How |
179
- | ------------------------------- | ---------------------------------------------------------------------------------------------- |
180
- | `-json` | every read-only query asks for JSON, then reports TOON |
181
- | `-project` | set from the .xcodeproj found in the working directory |
182
- | `-resultBundlePath` | every action writes a bundle to the tool's cache that bundle is what the report is read from |
183
- | `-skipMacroValidation` | macro trust is an interactive prompt in disguise, and an agent cannot answer it |
184
- | `-test-enumeration-format` | always json, so `tests` can parse it |
185
- | `-test-enumeration-output-path` | written to the tool's cache and read back, never printed |
186
- | `-test-enumeration-style` | always flat; `tests` does its own grouping by target and suite |
187
- | `-workspace` | set from the .xcworkspace found in the working directory |
188
- | `-help` | `xcodebuild-axi --help`, which answers it in a fraction of the tokens |
189
- | `-usage` | `xcodebuild-axi <command> --help`, per command rather than all 117 at once |
176
+ 108 options map to an `xcodebuild-axi` flag. The other 9 are reachable without one:
177
+
178
+ | Option | How |
179
+ | ------------------------------- | ------------------------------------------------------------------------------- |
180
+ | `-json` | every read-only query asks for JSON, then reports TOON |
181
+ | `-project` | set from the .xcodeproj found in the working directory |
182
+ | `-skipMacroValidation` | macro trust is an interactive prompt in disguise, and an agent cannot answer it |
183
+ | `-test-enumeration-format` | always json, so `tests` can parse it |
184
+ | `-test-enumeration-output-path` | written to the tool's cache and read back, never printed |
185
+ | `-test-enumeration-style` | always flat; `tests` does its own grouping by target and suite |
186
+ | `-workspace` | set from the .xcworkspace found in the working directory |
187
+ | `-help` | `xcodebuild-axi --help`, which answers it in a fraction of the tokens |
188
+ | `-usage` | `xcodebuild-axi <command> --help`, per command rather than all 117 at once |
190
189
 
191
190
  The one action left out is `installsrc` — it copies sources into `SRCROOT` as root, which is a packaging step rather than anything an agent loop needs.
192
191
 
@@ -9,10 +9,10 @@ import { type BuildRun } from "./xcodebuild.js";
9
9
  * worth extracting the first time a second command needed it.
10
10
  */
11
11
  /** Flags every build-family command accepts. Keep in sync with `BUILD_FLAG_HELP`. */
12
- export declare const SHARED_BUILD_FLAGS: readonly ["--scheme", "--target", "--all-targets", "--device", "--destination", "--configuration", "--sdk", "--arch", "--toolchain", "--xcconfig", "--derived-data", "--jobs", "--setting", "--sign", "--allow-provisioning", "--sanitizer", "--timing", "--destination-timeout", "--parallelize-targets", "--hide-script-env", "--skip-unavailable-actions", "--max-errors", "--full", "--codesize", "--log-level", "--bundle-version", "--stream", "--offline", "--cache", "--package-cache", "--no-auto-resolve", "--skip-package-updates", "--no-package-cache", "--skip-plugin-validation", "--skip-signature-validation", "--package-auth", "--registry-url", "--scm-to-registry", "--fingerprint-policy", "--signing-entity-policy", "--scm-provider"];
13
- export declare const SHARED_BUILD_VALUE_FLAGS: readonly ["--scheme", "--target", "--device", "--destination", "--configuration", "--sdk", "--arch", "--toolchain", "--xcconfig", "--derived-data", "--jobs", "--setting", "--sanitizer", "--destination-timeout", "--max-errors", "--codesize", "--log-level", "--bundle-version", "--stream", "--cache", "--package-cache", "--package-auth", "--registry-url", "--scm-to-registry", "--fingerprint-policy", "--signing-entity-policy", "--scm-provider"];
12
+ export declare const SHARED_BUILD_FLAGS: readonly ["--scheme", "--target", "--all-targets", "--device", "--destination", "--configuration", "--sdk", "--arch", "--toolchain", "--xcconfig", "--derived-data", "--artifacts-dir", "--jobs", "--setting", "--sign", "--allow-provisioning", "--sanitizer", "--timing", "--destination-timeout", "--parallelize-targets", "--hide-script-env", "--skip-unavailable-actions", "--max-errors", "--full", "--codesize", "--log-level", "--bundle-version", "--stream", "--offline", "--cache", "--package-cache", "--no-auto-resolve", "--skip-package-updates", "--no-package-cache", "--skip-plugin-validation", "--skip-signature-validation", "--package-auth", "--registry-url", "--scm-to-registry", "--fingerprint-policy", "--signing-entity-policy", "--scm-provider"];
13
+ export declare const SHARED_BUILD_VALUE_FLAGS: readonly ["--scheme", "--target", "--device", "--destination", "--configuration", "--sdk", "--arch", "--toolchain", "--xcconfig", "--derived-data", "--artifacts-dir", "--jobs", "--setting", "--sanitizer", "--destination-timeout", "--max-errors", "--codesize", "--log-level", "--bundle-version", "--stream", "--cache", "--package-cache", "--package-auth", "--registry-url", "--scm-to-registry", "--fingerprint-policy", "--signing-entity-policy", "--scm-provider"];
14
14
  /** The shared flag block, so each command's `--help` stays consistent. */
15
- export declare const BUILD_FLAG_HELP = " --scheme <name> scheme to act on (required only when the project has more than one)\n --target <name> build a target instead of a scheme; repeatable (project only)\n --all-targets build every target in the project (project only)\n --device <name> simulator or device name, e.g. \"iPhone 17 Pro\" (default: newest simulator)\n --destination <spec> raw xcodebuild destination specifier, passed through untouched\n --configuration <name> build configuration (default: the scheme's own)\n --sdk <name> base SDK, e.g. iphonesimulator\n --arch <arch> architecture to build; repeatable or comma-separated\n --toolchain <name> toolchain identifier or name\n --xcconfig <path> apply build settings from this file as overrides\n --derived-data <path> derived data directory\n --jobs <n> maximum concurrent build operations\n --setting KEY=VALUE build setting override; repeatable or comma-separated\n --sign allow code signing (off by default, so simulator builds need no team)\n --allow-provisioning let xcodebuild talk to the developer portal for profiles\n --sanitizer <name> address, thread, or undefined; repeatable or comma-separated\n --timing report per-command build timings\n --destination-timeout <secs> how long to wait for the destination device\n --parallelize-targets build independent targets in parallel\n --hide-script-env omit shell script environment variables from the log\n --skip-unavailable-actions skip scheme actions that cannot run instead of failing\n --max-errors <n> errors to list before summarizing the rest (default: 20)\n --full list every warning instead of the first 10\n --codesize <dir> write a code size profile to this directory\n --log-level <level> quiet, normal, or verbose \u2014 how much lands in the log file\n --bundle-version <n> result bundle format version (default: xcodebuild's own)\n --stream <path> also write xcodebuild's live result stream here\n --offline resolve using only the versions already in Package.resolved\n --cache <path> clone remote packages into this directory\n --package-cache <path> shared package cache directory (across projects)\n --no-auto-resolve never resolve automatically; fail if Package.resolved is stale\n --skip-package-updates use the packages already cloned, without checking for updates\n --no-package-cache ignore the shared package repository cache\n --skip-plugin-validation trust build plugins without prompting\n --skip-signature-validation do not verify package signatures\n --package-auth <kind> keychain or netrc\n --registry-url <url> default package registry\n --scm-to-registry <kind> none, identity, or swift-package-registry\n --fingerprint-policy <kind> strict or warn\n --signing-entity-policy <kind> strict or warn\n --scm-provider <kind> system or xcode";
15
+ export declare const BUILD_FLAG_HELP = " --scheme <name> scheme to act on (required only when the project has more than one)\n --target <name> build a target instead of a scheme; repeatable (project only)\n --all-targets build every target in the project (project only)\n --device <name> simulator or device name, e.g. \"iPhone 17 Pro\" (default: newest simulator)\n --destination <spec> raw xcodebuild destination specifier, passed through untouched\n --configuration <name> build configuration (default: the scheme's own)\n --sdk <name> base SDK, e.g. iphonesimulator\n --arch <arch> architecture to build; repeatable or comma-separated\n --toolchain <name> toolchain identifier or name\n --xcconfig <path> apply build settings from this file as overrides\n --derived-data <path> derived data directory\n --artifacts-dir <path> where to write this run's log and .xcresult (default: the tool's cache)\n --jobs <n> maximum concurrent build operations\n --setting KEY=VALUE build setting override; repeatable or comma-separated\n --sign allow code signing (off by default, so simulator builds need no team)\n --allow-provisioning let xcodebuild talk to the developer portal for profiles\n --sanitizer <name> address, thread, or undefined; repeatable or comma-separated\n --timing report per-command build timings\n --destination-timeout <secs> how long to wait for the destination device\n --parallelize-targets build independent targets in parallel\n --hide-script-env omit shell script environment variables from the log\n --skip-unavailable-actions skip scheme actions that cannot run instead of failing\n --max-errors <n> errors to list before summarizing the rest (default: 20)\n --full list every warning instead of the first 10\n --codesize <dir> write a code size profile to this directory\n --log-level <level> quiet, normal, or verbose \u2014 how much lands in the log file\n --bundle-version <n> result bundle format version (default: xcodebuild's own)\n --stream <path> also write xcodebuild's live result stream here\n --offline resolve using only the versions already in Package.resolved\n --cache <path> clone remote packages into this directory\n --package-cache <path> shared package cache directory (across projects)\n --no-auto-resolve never resolve automatically; fail if Package.resolved is stale\n --skip-package-updates use the packages already cloned, without checking for updates\n --no-package-cache ignore the shared package repository cache\n --skip-plugin-validation trust build plugins without prompting\n --skip-signature-validation do not verify package signatures\n --package-auth <kind> keychain or netrc\n --registry-url <url> default package registry\n --scm-to-registry <kind> none, identity, or swift-package-registry\n --fingerprint-policy <kind> strict or warn\n --signing-entity-policy <kind> strict or warn\n --scm-provider <kind> system or xcode";
16
16
  /**
17
17
  * The flags that map straight onto an xcodebuild switch with no interpretation
18
18
  * beyond validation. Grouped so they can be tested without a project.
@@ -28,6 +28,8 @@ export interface BuildContext {
28
28
  xcodebuildArgs: string[];
29
29
  maxErrors: number;
30
30
  full: boolean;
31
+ /** Where to write the log and result bundle, when the caller chose. */
32
+ artifactsDir: string | undefined;
31
33
  }
32
34
  export interface ResolveBuildContextOptions {
33
35
  args: string[];
@@ -36,6 +38,14 @@ export interface ResolveBuildContextOptions {
36
38
  needsDestination?: boolean;
37
39
  }
38
40
  export declare function resolveBuildContext(options: ResolveBuildContextOptions): Promise<BuildContext>;
41
+ /**
42
+ * Where a run's log and result bundle should go, if the caller said.
43
+ *
44
+ * Resolved against the working directory: a CI job asking for `build/` means
45
+ * the workspace it checked out, and `runBuild` will `mkdir -p` whatever it is
46
+ * handed from wherever the process happens to be.
47
+ */
48
+ export declare function artifactsDirFrom(args: string[]): string | undefined;
39
49
  /** A filesystem stem that distinguishes runs of different commands and devices. */
40
50
  export declare function runLabel(context: BuildContext, command: string): string;
41
51
  export interface RunActionOptions {
@@ -31,6 +31,7 @@ export const SHARED_BUILD_FLAGS = [
31
31
  "--toolchain",
32
32
  "--xcconfig",
33
33
  "--derived-data",
34
+ "--artifacts-dir",
34
35
  "--jobs",
35
36
  "--setting",
36
37
  "--sign",
@@ -60,6 +61,7 @@ export const SHARED_BUILD_VALUE_FLAGS = [
60
61
  "--toolchain",
61
62
  "--xcconfig",
62
63
  "--derived-data",
64
+ "--artifacts-dir",
63
65
  "--jobs",
64
66
  "--setting",
65
67
  "--sanitizer",
@@ -83,6 +85,7 @@ export const BUILD_FLAG_HELP = ` --scheme <name> scheme to act on (requ
83
85
  --toolchain <name> toolchain identifier or name
84
86
  --xcconfig <path> apply build settings from this file as overrides
85
87
  --derived-data <path> derived data directory
88
+ --artifacts-dir <path> where to write this run's log and .xcresult (default: the tool's cache)
86
89
  --jobs <n> maximum concurrent build operations
87
90
  --setting KEY=VALUE build setting override; repeatable or comma-separated
88
91
  --sign allow code signing (off by default, so simulator builds need no team)
@@ -270,8 +273,20 @@ export async function resolveBuildContext(options) {
270
273
  xcodebuildArgs,
271
274
  maxErrors: getIntFlag(args, "--max-errors") ?? 20,
272
275
  full: hasFlag(args, "--full"),
276
+ artifactsDir: artifactsDirFrom(args),
273
277
  };
274
278
  }
279
+ /**
280
+ * Where a run's log and result bundle should go, if the caller said.
281
+ *
282
+ * Resolved against the working directory: a CI job asking for `build/` means
283
+ * the workspace it checked out, and `runBuild` will `mkdir -p` whatever it is
284
+ * handed from wherever the process happens to be.
285
+ */
286
+ export function artifactsDirFrom(args) {
287
+ const dir = getFlag(args, "--artifacts-dir");
288
+ return dir === undefined ? undefined : resolve(dir);
289
+ }
275
290
  /** A filesystem stem that distinguishes runs of different commands and devices. */
276
291
  export function runLabel(context, command) {
277
292
  const device = context.destination
@@ -288,6 +303,9 @@ export function runAction(options) {
288
303
  ],
289
304
  label: runLabel(options.context, options.command),
290
305
  project: options.context.project,
306
+ ...(options.context.artifactsDir !== undefined
307
+ ? { outDir: options.context.artifactsDir }
308
+ : {}),
291
309
  });
292
310
  }
293
311
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"action.js","sourceRoot":"","sources":["../../src/action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC/D,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAuB,MAAM,cAAc,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACvE,OAAO,EAAE,QAAQ,EAAiB,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MA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AEF,MAAM,KAAK,GAAa,EAAE,CAAC;IAC3B,IAAI,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC1B,KAAK,CAAC,IAAI,CACR,wBAAwB,OAAO,CAAC,OAAO,iBAAiB,MAAM,CAAC,MAAM,kBAAkB,MAAM,CAAC,MAAM,SAAS,CAC9G,CAAC;IACJ,CAAC;IACD,IAAI,CAAC,OAAO,CAAC,IAAI,IAAI,QAAQ,CAAC,MAAM,GAAG,EAAE,EAAE,CAAC;QAC1C,KAAK,CAAC,IAAI,CACR,wBAAwB,OAAO,CAAC,OAAO,yBAAyB,QAAQ,CAAC,MAAM,WAAW,CAC3F,CAAC;IACJ,CAAC;IACD,IAAI,CAAC,SAAS,EAAE,CAAC;QACf,KAAK,CAAC,IAAI,CACR,+BAA+B,SAAS,CAAC,GAAG,CAAC,UAAU,CAAC,2CAA2C,CACpG,CAAC;IACJ,CAAC;IACD,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;IAE/B,yEAAyE;IACzE,oEAAoE;IACpE,IAAI,CAAC,SAAS;QAAE,OAAO,CAAC,QAAQ,GAAG,CAAC,CAAC;IACrC,OAAO,YAAY,CAAC,MAAM,CAAC,CAAC;AAC9B,CAAC"}
@@ -1,2 +1,2 @@
1
- export declare const ANALYZE_HELP = "usage: xcodebuild-axi analyze [flags]\nRuns the static analyzer and reports its findings with exact source locations.\nAnalyzer findings are the payload here, not a count \u2014 unlike `build`, where\nthey are noise alongside compiler warnings.\nflags[41]:\n --scheme <name> scheme to act on (required only when the project has more than one)\n --target <name> build a target instead of a scheme; repeatable (project only)\n --all-targets build every target in the project (project only)\n --device <name> simulator or device name, e.g. \"iPhone 17 Pro\" (default: newest simulator)\n --destination <spec> raw xcodebuild destination specifier, passed through untouched\n --configuration <name> build configuration (default: the scheme's own)\n --sdk <name> base SDK, e.g. iphonesimulator\n --arch <arch> architecture to build; repeatable or comma-separated\n --toolchain <name> toolchain identifier or name\n --xcconfig <path> apply build settings from this file as overrides\n --derived-data <path> derived data directory\n --jobs <n> maximum concurrent build operations\n --setting KEY=VALUE build setting override; repeatable or comma-separated\n --sign allow code signing (off by default, so simulator builds need no team)\n --allow-provisioning let xcodebuild talk to the developer portal for profiles\n --sanitizer <name> address, thread, or undefined; repeatable or comma-separated\n --timing report per-command build timings\n --destination-timeout <secs> how long to wait for the destination device\n --parallelize-targets build independent targets in parallel\n --hide-script-env omit shell script environment variables from the log\n --skip-unavailable-actions skip scheme actions that cannot run instead of failing\n --max-errors <n> errors to list before summarizing the rest (default: 20)\n --full list every warning instead of the first 10\n --codesize <dir> write a code size profile to this directory\n --log-level <level> quiet, normal, or verbose \u2014 how much lands in the log file\n --bundle-version <n> result bundle format version (default: xcodebuild's own)\n --stream <path> also write xcodebuild's live result stream here\n --offline resolve using only the versions already in Package.resolved\n --cache <path> clone remote packages into this directory\n --package-cache <path> shared package cache directory (across projects)\n --no-auto-resolve never resolve automatically; fail if Package.resolved is stale\n --skip-package-updates use the packages already cloned, without checking for updates\n --no-package-cache ignore the shared package repository cache\n --skip-plugin-validation trust build plugins without prompting\n --skip-signature-validation do not verify package signatures\n --package-auth <kind> keychain or netrc\n --registry-url <url> default package registry\n --scm-to-registry <kind> none, identity, or swift-package-registry\n --fingerprint-policy <kind> strict or warn\n --signing-entity-policy <kind> strict or warn\n --scm-provider <kind> system or xcode\nexit:\n 0 the analyze action succeeded (findings do not fail it), 1 it failed, 2 usage error\nexamples:\n xcodebuild-axi analyze\n xcodebuild-axi analyze --scheme MyApp --full\n";
1
+ export declare const ANALYZE_HELP = "usage: xcodebuild-axi analyze [flags]\nRuns the static analyzer and reports its findings with exact source locations.\nAnalyzer findings are the payload here, not a count \u2014 unlike `build`, where\nthey are noise alongside compiler warnings.\nflags[42]:\n --scheme <name> scheme to act on (required only when the project has more than one)\n --target <name> build a target instead of a scheme; repeatable (project only)\n --all-targets build every target in the project (project only)\n --device <name> simulator or device name, e.g. \"iPhone 17 Pro\" (default: newest simulator)\n --destination <spec> raw xcodebuild destination specifier, passed through untouched\n --configuration <name> build configuration (default: the scheme's own)\n --sdk <name> base SDK, e.g. iphonesimulator\n --arch <arch> architecture to build; repeatable or comma-separated\n --toolchain <name> toolchain identifier or name\n --xcconfig <path> apply build settings from this file as overrides\n --derived-data <path> derived data directory\n --artifacts-dir <path> where to write this run's log and .xcresult (default: the tool's cache)\n --jobs <n> maximum concurrent build operations\n --setting KEY=VALUE build setting override; repeatable or comma-separated\n --sign allow code signing (off by default, so simulator builds need no team)\n --allow-provisioning let xcodebuild talk to the developer portal for profiles\n --sanitizer <name> address, thread, or undefined; repeatable or comma-separated\n --timing report per-command build timings\n --destination-timeout <secs> how long to wait for the destination device\n --parallelize-targets build independent targets in parallel\n --hide-script-env omit shell script environment variables from the log\n --skip-unavailable-actions skip scheme actions that cannot run instead of failing\n --max-errors <n> errors to list before summarizing the rest (default: 20)\n --full list every warning instead of the first 10\n --codesize <dir> write a code size profile to this directory\n --log-level <level> quiet, normal, or verbose \u2014 how much lands in the log file\n --bundle-version <n> result bundle format version (default: xcodebuild's own)\n --stream <path> also write xcodebuild's live result stream here\n --offline resolve using only the versions already in Package.resolved\n --cache <path> clone remote packages into this directory\n --package-cache <path> shared package cache directory (across projects)\n --no-auto-resolve never resolve automatically; fail if Package.resolved is stale\n --skip-package-updates use the packages already cloned, without checking for updates\n --no-package-cache ignore the shared package repository cache\n --skip-plugin-validation trust build plugins without prompting\n --skip-signature-validation do not verify package signatures\n --package-auth <kind> keychain or netrc\n --registry-url <url> default package registry\n --scm-to-registry <kind> none, identity, or swift-package-registry\n --fingerprint-policy <kind> strict or warn\n --signing-entity-policy <kind> strict or warn\n --scm-provider <kind> system or xcode\nexit:\n 0 the analyze action succeeded (findings do not fail it), 1 it failed, 2 usage error\nexamples:\n xcodebuild-axi analyze\n xcodebuild-axi analyze --scheme MyApp --full\n";
2
2
  export declare function analyzeCommand(args: string[]): Promise<string>;
@@ -4,7 +4,7 @@ export const ANALYZE_HELP = `usage: xcodebuild-axi analyze [flags]
4
4
  Runs the static analyzer and reports its findings with exact source locations.
5
5
  Analyzer findings are the payload here, not a count — unlike \`build\`, where
6
6
  they are noise alongside compiler warnings.
7
- flags[41]:
7
+ flags[42]:
8
8
  ${BUILD_FLAG_HELP}
9
9
  exit:
10
10
  0 the analyze action succeeded (findings do not fail it), 1 it failed, 2 usage error
@@ -1,2 +1,2 @@
1
- export declare const ARCHIVE_HELP = "usage: xcodebuild-axi archive [flags]\nArchives a scheme and reports the archive's identity \u2014 bundle id, version, and\nbuild number \u2014 so the next step does not need a second lookup.\nflags[46]:\n --scheme <name> scheme to act on (required only when the project has more than one)\n --target <name> build a target instead of a scheme; repeatable (project only)\n --all-targets build every target in the project (project only)\n --device <name> simulator or device name, e.g. \"iPhone 17 Pro\" (default: newest simulator)\n --destination <spec> raw xcodebuild destination specifier, passed through untouched\n --configuration <name> build configuration (default: the scheme's own)\n --sdk <name> base SDK, e.g. iphonesimulator\n --arch <arch> architecture to build; repeatable or comma-separated\n --toolchain <name> toolchain identifier or name\n --xcconfig <path> apply build settings from this file as overrides\n --derived-data <path> derived data directory\n --jobs <n> maximum concurrent build operations\n --setting KEY=VALUE build setting override; repeatable or comma-separated\n --sign allow code signing (off by default, so simulator builds need no team)\n --allow-provisioning let xcodebuild talk to the developer portal for profiles\n --sanitizer <name> address, thread, or undefined; repeatable or comma-separated\n --timing report per-command build timings\n --destination-timeout <secs> how long to wait for the destination device\n --parallelize-targets build independent targets in parallel\n --hide-script-env omit shell script environment variables from the log\n --skip-unavailable-actions skip scheme actions that cannot run instead of failing\n --max-errors <n> errors to list before summarizing the rest (default: 20)\n --full list every warning instead of the first 10\n --codesize <dir> write a code size profile to this directory\n --log-level <level> quiet, normal, or verbose \u2014 how much lands in the log file\n --bundle-version <n> result bundle format version (default: xcodebuild's own)\n --stream <path> also write xcodebuild's live result stream here\n --offline resolve using only the versions already in Package.resolved\n --cache <path> clone remote packages into this directory\n --package-cache <path> shared package cache directory (across projects)\n --no-auto-resolve never resolve automatically; fail if Package.resolved is stale\n --skip-package-updates use the packages already cloned, without checking for updates\n --no-package-cache ignore the shared package repository cache\n --skip-plugin-validation trust build plugins without prompting\n --skip-signature-validation do not verify package signatures\n --package-auth <kind> keychain or netrc\n --registry-url <url> default package registry\n --scm-to-registry <kind> none, identity, or swift-package-registry\n --fingerprint-policy <kind> strict or warn\n --signing-entity-policy <kind> strict or warn\n --scm-provider <kind> system or xcode\n --archive-path <path> where to write the .xcarchive (default: the tool's cache)\n --auth-key-path <path> App Store Connect API key (.p8); requires the two flags below\n --auth-key-id <id> key identifier for that key\n --auth-key-issuer <id> issuer identifier for that key\n --allow-device-registration let xcodebuild register the destination device on the portal\nnote:\n Archiving signs by default, unlike `build` \u2014 an unsigned archive cannot be\n exported. Pass --allow-provisioning to let xcodebuild fetch profiles.\nexit:\n 0 archive succeeded, 1 it failed, 2 usage error\nexamples:\n xcodebuild-axi archive --scheme MyApp\n xcodebuild-axi archive --scheme MyApp --archive-path build/MyApp.xcarchive\n";
1
+ export declare const ARCHIVE_HELP = "usage: xcodebuild-axi archive [flags]\nArchives a scheme and reports the archive's identity \u2014 bundle id, version, and\nbuild number \u2014 so the next step does not need a second lookup.\nflags[47]:\n --scheme <name> scheme to act on (required only when the project has more than one)\n --target <name> build a target instead of a scheme; repeatable (project only)\n --all-targets build every target in the project (project only)\n --device <name> simulator or device name, e.g. \"iPhone 17 Pro\" (default: newest simulator)\n --destination <spec> raw xcodebuild destination specifier, passed through untouched\n --configuration <name> build configuration (default: the scheme's own)\n --sdk <name> base SDK, e.g. iphonesimulator\n --arch <arch> architecture to build; repeatable or comma-separated\n --toolchain <name> toolchain identifier or name\n --xcconfig <path> apply build settings from this file as overrides\n --derived-data <path> derived data directory\n --artifacts-dir <path> where to write this run's log and .xcresult (default: the tool's cache)\n --jobs <n> maximum concurrent build operations\n --setting KEY=VALUE build setting override; repeatable or comma-separated\n --sign allow code signing (off by default, so simulator builds need no team)\n --allow-provisioning let xcodebuild talk to the developer portal for profiles\n --sanitizer <name> address, thread, or undefined; repeatable or comma-separated\n --timing report per-command build timings\n --destination-timeout <secs> how long to wait for the destination device\n --parallelize-targets build independent targets in parallel\n --hide-script-env omit shell script environment variables from the log\n --skip-unavailable-actions skip scheme actions that cannot run instead of failing\n --max-errors <n> errors to list before summarizing the rest (default: 20)\n --full list every warning instead of the first 10\n --codesize <dir> write a code size profile to this directory\n --log-level <level> quiet, normal, or verbose \u2014 how much lands in the log file\n --bundle-version <n> result bundle format version (default: xcodebuild's own)\n --stream <path> also write xcodebuild's live result stream here\n --offline resolve using only the versions already in Package.resolved\n --cache <path> clone remote packages into this directory\n --package-cache <path> shared package cache directory (across projects)\n --no-auto-resolve never resolve automatically; fail if Package.resolved is stale\n --skip-package-updates use the packages already cloned, without checking for updates\n --no-package-cache ignore the shared package repository cache\n --skip-plugin-validation trust build plugins without prompting\n --skip-signature-validation do not verify package signatures\n --package-auth <kind> keychain or netrc\n --registry-url <url> default package registry\n --scm-to-registry <kind> none, identity, or swift-package-registry\n --fingerprint-policy <kind> strict or warn\n --signing-entity-policy <kind> strict or warn\n --scm-provider <kind> system or xcode\n --archive-path <path> where to write the .xcarchive (default: the tool's cache)\n --auth-key-path <path> App Store Connect API key (.p8); requires the two flags below\n --auth-key-id <id> key identifier for that key\n --auth-key-issuer <id> issuer identifier for that key\n --allow-device-registration let xcodebuild register the destination device on the portal\nnote:\n Archiving signs by default, unlike `build` \u2014 an unsigned archive cannot be\n exported. Pass --allow-provisioning to let xcodebuild fetch profiles.\nexit:\n 0 archive succeeded, 1 it failed, 2 usage error\nexamples:\n xcodebuild-axi archive --scheme MyApp\n xcodebuild-axi archive --scheme MyApp --archive-path build/MyApp.xcarchive\n";
2
2
  export declare function archiveCommand(args: string[]): Promise<string>;
@@ -8,7 +8,7 @@ import { getFlag, rejectUnknownFlags } from "../args.js";
8
8
  export const ARCHIVE_HELP = `usage: xcodebuild-axi archive [flags]
9
9
  Archives a scheme and reports the archive's identity — bundle id, version, and
10
10
  build number — so the next step does not need a second lookup.
11
- flags[46]:
11
+ flags[47]:
12
12
  ${BUILD_FLAG_HELP}
13
13
  --archive-path <path> where to write the .xcarchive (default: the tool's cache)
14
14
  ${AUTH_FLAG_HELP}
@@ -1,2 +1,2 @@
1
- export declare const BUILD_HELP = "usage: xcodebuild-axi build [flags]\nBuilds a scheme and reports only what failed, with exact source locations.\nflags[45]:\n --scheme <name> scheme to act on (required only when the project has more than one)\n --target <name> build a target instead of a scheme; repeatable (project only)\n --all-targets build every target in the project (project only)\n --device <name> simulator or device name, e.g. \"iPhone 17 Pro\" (default: newest simulator)\n --destination <spec> raw xcodebuild destination specifier, passed through untouched\n --configuration <name> build configuration (default: the scheme's own)\n --sdk <name> base SDK, e.g. iphonesimulator\n --arch <arch> architecture to build; repeatable or comma-separated\n --toolchain <name> toolchain identifier or name\n --xcconfig <path> apply build settings from this file as overrides\n --derived-data <path> derived data directory\n --jobs <n> maximum concurrent build operations\n --setting KEY=VALUE build setting override; repeatable or comma-separated\n --sign allow code signing (off by default, so simulator builds need no team)\n --allow-provisioning let xcodebuild talk to the developer portal for profiles\n --sanitizer <name> address, thread, or undefined; repeatable or comma-separated\n --timing report per-command build timings\n --destination-timeout <secs> how long to wait for the destination device\n --parallelize-targets build independent targets in parallel\n --hide-script-env omit shell script environment variables from the log\n --skip-unavailable-actions skip scheme actions that cannot run instead of failing\n --max-errors <n> errors to list before summarizing the rest (default: 20)\n --full list every warning instead of the first 10\n --codesize <dir> write a code size profile to this directory\n --log-level <level> quiet, normal, or verbose \u2014 how much lands in the log file\n --bundle-version <n> result bundle format version (default: xcodebuild's own)\n --stream <path> also write xcodebuild's live result stream here\n --offline resolve using only the versions already in Package.resolved\n --cache <path> clone remote packages into this directory\n --package-cache <path> shared package cache directory (across projects)\n --no-auto-resolve never resolve automatically; fail if Package.resolved is stale\n --skip-package-updates use the packages already cloned, without checking for updates\n --no-package-cache ignore the shared package repository cache\n --skip-plugin-validation trust build plugins without prompting\n --skip-signature-validation do not verify package signatures\n --package-auth <kind> keychain or netrc\n --registry-url <url> default package registry\n --scm-to-registry <kind> none, identity, or swift-package-registry\n --fingerprint-policy <kind> strict or warn\n --signing-entity-policy <kind> strict or warn\n --scm-provider <kind> system or xcode\n --clean clean before building\n --for-testing build the tests too and emit an .xctestrun (build-for-testing)\n --install run the install action instead of build\n --docs build documentation (docbuild) instead of build\nexit:\n 0 build succeeded, 1 build failed, 2 usage error\nexamples:\n xcodebuild-axi build\n xcodebuild-axi build --scheme MyApp --device \"iPhone 17 Pro\"\n xcodebuild-axi build --scheme MyApp --configuration Release --clean\n xcodebuild-axi build --scheme MyApp --for-testing\n";
1
+ export declare const BUILD_HELP = "usage: xcodebuild-axi build [flags]\nBuilds a scheme and reports only what failed, with exact source locations.\nflags[46]:\n --scheme <name> scheme to act on (required only when the project has more than one)\n --target <name> build a target instead of a scheme; repeatable (project only)\n --all-targets build every target in the project (project only)\n --device <name> simulator or device name, e.g. \"iPhone 17 Pro\" (default: newest simulator)\n --destination <spec> raw xcodebuild destination specifier, passed through untouched\n --configuration <name> build configuration (default: the scheme's own)\n --sdk <name> base SDK, e.g. iphonesimulator\n --arch <arch> architecture to build; repeatable or comma-separated\n --toolchain <name> toolchain identifier or name\n --xcconfig <path> apply build settings from this file as overrides\n --derived-data <path> derived data directory\n --artifacts-dir <path> where to write this run's log and .xcresult (default: the tool's cache)\n --jobs <n> maximum concurrent build operations\n --setting KEY=VALUE build setting override; repeatable or comma-separated\n --sign allow code signing (off by default, so simulator builds need no team)\n --allow-provisioning let xcodebuild talk to the developer portal for profiles\n --sanitizer <name> address, thread, or undefined; repeatable or comma-separated\n --timing report per-command build timings\n --destination-timeout <secs> how long to wait for the destination device\n --parallelize-targets build independent targets in parallel\n --hide-script-env omit shell script environment variables from the log\n --skip-unavailable-actions skip scheme actions that cannot run instead of failing\n --max-errors <n> errors to list before summarizing the rest (default: 20)\n --full list every warning instead of the first 10\n --codesize <dir> write a code size profile to this directory\n --log-level <level> quiet, normal, or verbose \u2014 how much lands in the log file\n --bundle-version <n> result bundle format version (default: xcodebuild's own)\n --stream <path> also write xcodebuild's live result stream here\n --offline resolve using only the versions already in Package.resolved\n --cache <path> clone remote packages into this directory\n --package-cache <path> shared package cache directory (across projects)\n --no-auto-resolve never resolve automatically; fail if Package.resolved is stale\n --skip-package-updates use the packages already cloned, without checking for updates\n --no-package-cache ignore the shared package repository cache\n --skip-plugin-validation trust build plugins without prompting\n --skip-signature-validation do not verify package signatures\n --package-auth <kind> keychain or netrc\n --registry-url <url> default package registry\n --scm-to-registry <kind> none, identity, or swift-package-registry\n --fingerprint-policy <kind> strict or warn\n --signing-entity-policy <kind> strict or warn\n --scm-provider <kind> system or xcode\n --clean clean before building\n --for-testing build the tests too and emit an .xctestrun (build-for-testing)\n --install run the install action instead of build\n --docs build documentation (docbuild) instead of build\nexit:\n 0 build succeeded, 1 build failed, 2 usage error\nexamples:\n xcodebuild-axi build\n xcodebuild-axi build --scheme MyApp --device \"iPhone 17 Pro\"\n xcodebuild-axi build --scheme MyApp --configuration Release --clean\n xcodebuild-axi build --scheme MyApp --for-testing\n";
2
2
  export declare function buildCommand(args: string[]): Promise<string>;
@@ -3,7 +3,7 @@ import { AxiError } from "../errors.js";
3
3
  import { hasFlag, rejectUnknownFlags } from "../args.js";
4
4
  export const BUILD_HELP = `usage: xcodebuild-axi build [flags]
5
5
  Builds a scheme and reports only what failed, with exact source locations.
6
- flags[45]:
6
+ flags[46]:
7
7
  ${BUILD_FLAG_HELP}
8
8
  --clean clean before building
9
9
  --for-testing build the tests too and emit an .xctestrun (build-for-testing)
@@ -1,2 +1,10 @@
1
+ import { type BuildResults } from "../xcresult.js";
1
2
  export declare const RESULT_HELP = "usage: xcodebuild-axi result <path.xcresult> [flags]\nRe-reads a result bundle that a previous run wrote, without rebuilding.\nflags[4]:\n --failures failures and errors only\n --warnings include the full warning list\n --max <n> rows to list before summarizing the rest (default: 20)\n --full untruncated messages\nexamples:\n xcodebuild-axi result ~/Library/Caches/xcodebuild-axi/MyApps-1a2b3c4d/MyApp-iPhone-17-Pro-test.xcresult\n xcodebuild-axi result build/MyApp.xcresult --failures --full\n";
2
3
  export declare function resultCommand(args: string[]): Promise<string>;
4
+ /**
5
+ * The header a non-test bundle reports. A build bundle carries every field the
6
+ * test-shaped query lacks: `actionTitle` names the action xcodebuild ran,
7
+ * `status` is the verdict it recorded, and `destination` is the device it
8
+ * actually landed on.
9
+ */
10
+ export declare function buildFields(build: BuildResults): Record<string, string>;
@@ -37,7 +37,15 @@ export async function resultCommand(args) {
37
37
  throw new AxiError(`Nothing readable in the bundle at ${rawPath}`, "RESULT_NOT_FOUND");
38
38
  }
39
39
  const blocks = [];
40
- if (summary?.totalTestCount !== undefined) {
40
+ // `xcresulttool` answers the test-shaped query for *any* bundle, so a build
41
+ // comes back as `{title: "Test - X", totalTestCount: 0, result: "unknown"}`
42
+ // rather than as nothing. Reading that as a verdict rendered a build as
43
+ // `result: unknown / title: Test - X / 0 passed / 0 failed`, which is the
44
+ // shape of a clean pass. `home.ts` fixed the same misread by trusting the
45
+ // name `runLabel` gave the bundle, but `result` takes an arbitrary path --
46
+ // its own help offers `build/MyApp.xcresult` -- so the name proves nothing
47
+ // here and the count is the discriminator instead.
48
+ if (summary && (summary.totalTestCount ?? 0) > 0) {
41
49
  const device = summary.devicesAndConfigurations?.[0]?.device;
42
50
  blocks.push(renderFields({
43
51
  result: summary.result?.toLowerCase() ?? "unknown",
@@ -65,6 +73,9 @@ export async function resultCommand(args) {
65
73
  blocks.push(renderFields({ failures: "0 test failures in this bundle" }));
66
74
  }
67
75
  }
76
+ else if (build) {
77
+ blocks.push(renderFields(buildFields(build)));
78
+ }
68
79
  if (build) {
69
80
  const errors = toDiagnostics(build.errors);
70
81
  const warnings = toDiagnostics([
@@ -93,6 +104,22 @@ export async function resultCommand(args) {
93
104
  blocks.push(renderHelp(hints));
94
105
  return renderOutput(blocks);
95
106
  }
107
+ /**
108
+ * The header a non-test bundle reports. A build bundle carries every field the
109
+ * test-shaped query lacks: `actionTitle` names the action xcodebuild ran,
110
+ * `status` is the verdict it recorded, and `destination` is the device it
111
+ * actually landed on.
112
+ */
113
+ export function buildFields(build) {
114
+ return {
115
+ result: build.status?.toLowerCase() ?? "unknown",
116
+ title: build.actionTitle ?? "",
117
+ destination: describeDevice(build.destination),
118
+ duration: build.startTime !== undefined && build.endTime !== undefined
119
+ ? duration(build.endTime - build.startTime)
120
+ : "unknown",
121
+ };
122
+ }
96
123
  function expandTilde(path) {
97
124
  const home = process.env["HOME"];
98
125
  return home && path.startsWith("~/") ? `${home}${path.slice(1)}` : path;
@@ -1 +1 @@
1
- {"version":3,"file":"result.js","sourceRoot":"","sources":["../../../src/commands/result.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EACL,cAAc,EACd,gBAAgB,EAChB,eAAe,EACf,aAAa,GACd,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EACL,QAAQ,EACR,YAAY,EACZ,UAAU,EACV,UAAU,EACV,YAAY,EACZ,SAAS,EACT,QAAQ,GACT,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,UAAU,EACV,OAAO,EACP,WAAW,EACX,kBAAkB,GACnB,MAAM,YAAY,CAAC;AAEpB,MAAM,CAAC,MAAM,WAAW,GAAG;;;;;;;;;;CAU1B,CAAC;AAEF,MAAM,KAAK,GAAG,CAAC,YAAY,EAAE,YAAY,EAAE,OAAO,EAAE,QAAQ,CAAU,CAAC;AAEvE,MAAM,CAAC,KAAK,UAAU,aAAa,CAAC,IAAc;IAChD,kBAAkB,CAAC,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAErD,MAAM,CAAC,OAAO,CAAC,GAAG,W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C,MAAM,EAAE,WAAW,EAAE,IAAI,SAAS;QAChD,KAAK,EAAE,KAAK,CAAC,WAAW,IAAI,EAAE;QAC9B,WAAW,EAAE,cAAc,CAAC,KAAK,CAAC,WAAW,CAAC;QAC9C,QAAQ,EACN,KAAK,CAAC,SAAS,KAAK,SAAS,IAAI,KAAK,CAAC,OAAO,KAAK,SAAS;YAC1D,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC,SAAS,CAAC;YAC3C,CAAC,CAAC,SAAS;KAChB,CAAC;AACJ,CAAC;AAED,SAAS,WAAW,CAAC,IAAY;IAC/B,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACjC,OAAO,IAAI,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;AAC1E,CAAC"}
@@ -1,2 +1,10 @@
1
- export declare const SETTINGS_HELP = "usage: xcodebuild-axi settings [flags]\nReads resolved build settings. Asking for the keys you want turns a 40 KB dump\ninto a few lines.\nflags[7]:\n --scheme <name> scheme to resolve against (required only when the project has more than one)\n --key <NAME> setting to read; repeatable or comma-separated\n --configuration <name> build configuration to resolve against\n --all dump every setting (large \u2014 hundreds of keys)\n --for-index the per-source-file settings an indexer sees\n --file <path> with --for-index: the one source file to report on\n --full with --for-index --file: list the long argument arrays\nnote:\n --for-index answers a different question from the rest of this command: it\n reports the compiler invocation the indexer builds per source file. The raw\n payload measured 216 KB on a 12-scheme workspace, so without --file it\n reports only which targets have index settings and how many files each has.\nexamples:\n xcodebuild-axi settings --key PRODUCT_BUNDLE_IDENTIFIER,MARKETING_VERSION\n xcodebuild-axi settings --scheme MyApp --key SWIFT_VERSION\n xcodebuild-axi settings --scheme MyApp --for-index --file MyApp/AppFeature.swift\n";
1
+ export declare const SETTINGS_HELP = "usage: xcodebuild-axi settings [flags]\nReads resolved build settings. Asking for the keys you want turns a 40 KB dump\ninto a few lines.\nflags[10]:\n --scheme <name> scheme to resolve against (required only when the project has more than one)\n --key <NAME> setting to read; repeatable or comma-separated\n --configuration <name> build configuration to resolve against\n --device <name> resolve against a simulator or device by name, e.g. \"iPhone 17 Pro\"\n --destination <spec> raw xcodebuild destination specifier, passed through untouched\n --sdk <name> base SDK to resolve against, e.g. iphonesimulator\n --all dump every setting (large \u2014 hundreds of keys)\n --for-index the per-source-file settings an indexer sees\n --file <path> with --for-index: the one source file to report on\n --full with --for-index --file: list the long argument arrays\nnote:\n Paths and platform names are destination-dependent. With no --device,\n --destination or --sdk, xcodebuild resolves against the default SDK, which is\n the *device* SDK -- so BUILT_PRODUCTS_DIR comes back under Debug-iphoneos\n while build and test default to a simulator. The reported platform names\n what the answer is for.\n --for-index answers a different question from the rest of this command: it\n reports the compiler invocation the indexer builds per source file. The raw\n payload measured 216 KB on a 12-scheme workspace, so without --file it\n reports only which targets have index settings and how many files each has.\nexamples:\n xcodebuild-axi settings --key PRODUCT_BUNDLE_IDENTIFIER,MARKETING_VERSION\n xcodebuild-axi settings --scheme MyApp --key SWIFT_VERSION\n xcodebuild-axi settings --scheme MyApp --device \"iPhone 17 Pro\" --key BUILT_PRODUCTS_DIR\n xcodebuild-axi settings --scheme MyApp --for-index --file MyApp/AppFeature.swift\n";
2
2
  export declare function settingsCommand(args: string[]): Promise<string>;
3
+ /**
4
+ * Name the platform an answer is for. These settings are destination-dependent
5
+ * and the destination is easy not to think about, so the report says which one
6
+ * it resolved against rather than leaving the reader to assume.
7
+ */
8
+ export declare function platformOf(settings: Record<string, unknown>): {
9
+ platform: string;
10
+ } | Record<string, never>;
@@ -1,21 +1,30 @@
1
1
  import { AxiError } from "../errors.js";
2
2
  import { requireProject } from "../context.js";
3
3
  import { requireScheme } from "../scheme.js";
4
+ import { resolveDestination } from "../destination.js";
4
5
  import { runMetadata } from "../xcodebuild.js";
5
6
  import { renderFields, renderHelp, renderList, renderOutput } from "../toon.js";
6
7
  import { getFlag, getListFlag, hasFlag, rejectUnknownFlags } from "../args.js";
7
8
  export const SETTINGS_HELP = `usage: xcodebuild-axi settings [flags]
8
9
  Reads resolved build settings. Asking for the keys you want turns a 40 KB dump
9
10
  into a few lines.
10
- flags[7]:
11
+ flags[10]:
11
12
  --scheme <name> scheme to resolve against (required only when the project has more than one)
12
13
  --key <NAME> setting to read; repeatable or comma-separated
13
14
  --configuration <name> build configuration to resolve against
15
+ --device <name> resolve against a simulator or device by name, e.g. "iPhone 17 Pro"
16
+ --destination <spec> raw xcodebuild destination specifier, passed through untouched
17
+ --sdk <name> base SDK to resolve against, e.g. iphonesimulator
14
18
  --all dump every setting (large — hundreds of keys)
15
19
  --for-index the per-source-file settings an indexer sees
16
20
  --file <path> with --for-index: the one source file to report on
17
21
  --full with --for-index --file: list the long argument arrays
18
22
  note:
23
+ Paths and platform names are destination-dependent. With no --device,
24
+ --destination or --sdk, xcodebuild resolves against the default SDK, which is
25
+ the *device* SDK -- so BUILT_PRODUCTS_DIR comes back under Debug-iphoneos
26
+ while build and test default to a simulator. The reported platform names
27
+ what the answer is for.
19
28
  --for-index answers a different question from the rest of this command: it
20
29
  reports the compiler invocation the indexer builds per source file. The raw
21
30
  payload measured 216 KB on a 12-scheme workspace, so without --file it
@@ -23,18 +32,30 @@ note:
23
32
  examples:
24
33
  xcodebuild-axi settings --key PRODUCT_BUNDLE_IDENTIFIER,MARKETING_VERSION
25
34
  xcodebuild-axi settings --scheme MyApp --key SWIFT_VERSION
35
+ xcodebuild-axi settings --scheme MyApp --device "iPhone 17 Pro" --key BUILT_PRODUCTS_DIR
26
36
  xcodebuild-axi settings --scheme MyApp --for-index --file MyApp/AppFeature.swift
27
37
  `;
28
38
  const FLAGS = [
29
39
  "--scheme",
30
40
  "--key",
31
41
  "--configuration",
42
+ "--device",
43
+ "--destination",
44
+ "--sdk",
32
45
  "--all",
33
46
  "--for-index",
34
47
  "--file",
35
48
  "--full",
36
49
  ];
37
- const VALUE_FLAGS = ["--scheme", "--key", "--configuration", "--file"];
50
+ const VALUE_FLAGS = [
51
+ "--scheme",
52
+ "--key",
53
+ "--configuration",
54
+ "--device",
55
+ "--destination",
56
+ "--sdk",
57
+ "--file",
58
+ ];
38
59
  export async function settingsCommand(args) {
39
60
  rejectUnknownFlags(args, "settings", FLAGS, VALUE_FLAGS);
40
61
  const keys = getListFlag(args, "--key");
@@ -49,11 +70,30 @@ export async function settingsCommand(args) {
49
70
  const project = requireProject();
50
71
  const scheme = await requireScheme(project, getFlag(args, "--scheme"), "settings");
51
72
  const configuration = getFlag(args, "--configuration");
73
+ const sdk = getFlag(args, "--sdk");
74
+ // Without a destination xcodebuild resolves against the default *device*
75
+ // SDK, so BUILT_PRODUCTS_DIR and PLATFORM_NAME describe a build that
76
+ // `xcodebuild-axi build` -- which defaults to the newest simulator -- never
77
+ // performs. Reading the `.app` path out of that answer sends you to an
78
+ // iphoneos directory for a simulator build. Only resolve when asked, so the
79
+ // default answer does not move under anyone.
80
+ const rawDestination = getFlag(args, "--destination");
81
+ const device = getFlag(args, "--device");
82
+ const destination = rawDestination !== undefined || device !== undefined
83
+ ? await resolveDestination({
84
+ project,
85
+ scheme,
86
+ ...(device !== undefined ? { device } : {}),
87
+ ...(rawDestination !== undefined ? { raw: rawDestination } : {}),
88
+ })
89
+ : undefined;
52
90
  const { stdout } = await runMetadata([
53
91
  ...project.flags,
54
92
  "-scheme",
55
93
  scheme,
56
94
  ...(configuration ? ["-configuration", configuration] : []),
95
+ ...(destination ? ["-destination", destination.specifier] : []),
96
+ ...(sdk ? ["-sdk", sdk] : []),
57
97
  forIndex ? "-showBuildSettingsForIndex" : "-showBuildSettings",
58
98
  "-json",
59
99
  ]);
@@ -61,9 +101,14 @@ export async function settingsCommand(args) {
61
101
  return reportIndexSettings(stdout, scheme, getFlag(args, "--file"), hasFlag(args, "--full"));
62
102
  }
63
103
  const settings = parseSettings(stdout);
104
+ const platform = platformOf(settings);
64
105
  if (all) {
65
106
  return renderOutput([
66
- renderFields({ scheme, settings: Object.keys(settings).length }),
107
+ renderFields({
108
+ scheme,
109
+ ...platform,
110
+ settings: Object.keys(settings).length,
111
+ }),
67
112
  renderFields({ ...settings }),
68
113
  ]);
69
114
  }
@@ -76,7 +121,7 @@ export async function settingsCommand(args) {
76
121
  else
77
122
  found[key] = value;
78
123
  }
79
- const blocks = [renderFields({ scheme })];
124
+ const blocks = [renderFields({ scheme, ...platform })];
80
125
  if (Object.keys(found).length > 0) {
81
126
  blocks.push(renderFields({ settings: found }));
82
127
  }
@@ -90,6 +135,15 @@ export async function settingsCommand(args) {
90
135
  }
91
136
  return renderOutput(blocks);
92
137
  }
138
+ /**
139
+ * Name the platform an answer is for. These settings are destination-dependent
140
+ * and the destination is easy not to think about, so the report says which one
141
+ * it resolved against rather than leaving the reader to assume.
142
+ */
143
+ export function platformOf(settings) {
144
+ const name = settings["PLATFORM_NAME"];
145
+ return typeof name === "string" && name.length > 0 ? { platform: name } : {};
146
+ }
93
147
  /**
94
148
  * `-showBuildSettingsForIndex` is the one query in this family whose full
95
149
  * output is never worth printing: it repeats the entire Swift driver command
@@ -1 +1 @@
1
- {"version":3,"file":"settings.js","sourceRoot":"","sources":["../../../src/commands/settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAChF,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAE/E,MAAM,CAAC,MAAM,aAAa,GAAG;;;;;;;;;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,EAAE,CAAC;QAC3B,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,aAAa,IAAI,EAAE,CAAC,CAAC;IACnD,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC"}
@@ -1,2 +1,2 @@
1
- export declare const TEST_HELP = "usage: xcodebuild-axi test [flags]\nRuns a scheme's tests and reports the counts plus only the failures.\nflags[66]:\n --scheme <name> scheme to act on (required only when the project has more than one)\n --target <name> build a target instead of a scheme; repeatable (project only)\n --all-targets build every target in the project (project only)\n --device <name> simulator or device name, e.g. \"iPhone 17 Pro\" (default: newest simulator)\n --destination <spec> raw xcodebuild destination specifier, passed through untouched\n --configuration <name> build configuration (default: the scheme's own)\n --sdk <name> base SDK, e.g. iphonesimulator\n --arch <arch> architecture to build; repeatable or comma-separated\n --toolchain <name> toolchain identifier or name\n --xcconfig <path> apply build settings from this file as overrides\n --derived-data <path> derived data directory\n --jobs <n> maximum concurrent build operations\n --setting KEY=VALUE build setting override; repeatable or comma-separated\n --sign allow code signing (off by default, so simulator builds need no team)\n --allow-provisioning let xcodebuild talk to the developer portal for profiles\n --sanitizer <name> address, thread, or undefined; repeatable or comma-separated\n --timing report per-command build timings\n --destination-timeout <secs> how long to wait for the destination device\n --parallelize-targets build independent targets in parallel\n --hide-script-env omit shell script environment variables from the log\n --skip-unavailable-actions skip scheme actions that cannot run instead of failing\n --max-errors <n> errors to list before summarizing the rest (default: 20)\n --full list every warning instead of the first 10\n --codesize <dir> write a code size profile to this directory\n --log-level <level> quiet, normal, or verbose \u2014 how much lands in the log file\n --bundle-version <n> result bundle format version (default: xcodebuild's own)\n --stream <path> also write xcodebuild's live result stream here\n --offline resolve using only the versions already in Package.resolved\n --cache <path> clone remote packages into this directory\n --package-cache <path> shared package cache directory (across projects)\n --no-auto-resolve never resolve automatically; fail if Package.resolved is stale\n --skip-package-updates use the packages already cloned, without checking for updates\n --no-package-cache ignore the shared package repository cache\n --skip-plugin-validation trust build plugins without prompting\n --skip-signature-validation do not verify package signatures\n --package-auth <kind> keychain or netrc\n --registry-url <url> default package registry\n --scm-to-registry <kind> none, identity, or swift-package-registry\n --fingerprint-policy <kind> strict or warn\n --signing-entity-policy <kind> strict or warn\n --scm-provider <kind> system or xcode\n --test-plan <name> test plan to run\n --only <id> run only this test/class/target; repeatable or comma-separated\n --skip <id> skip this test/class/target; repeatable or comma-separated\n --coverage collect code coverage and report the overall percentage\n --without-building test already-built products (test-without-building)\n --xctestrun <path> test from an .xctestrun file instead of a scheme\n --parallel <n> exact number of parallel test runners\n --no-parallel disable parallel testing\n --iterations <n> run the tests this many times\n --retry retry failures, up to --iterations (default 3)\n --until-failure repeat until something fails, up to --iterations (default 100)\n --language <iso639> run in this language\n --region <iso3166> run in this region\n --diagnostics collect verbose diagnostics on failure\n --perf-diagnostics collect performance traces and memgraphs for performance tests\n --relaunch relaunch the process between repetitions\n --only-configuration <name> run only this test configuration; repeatable\n --skip-configuration <name> skip this test configuration; repeatable\n --max-workers <n> cap on parallel test runners\n --max-sim-destinations <n> cap on simulator destinations tested concurrently\n --max-device-destinations <n> cap on device destinations tested concurrently\n --default-test-timeout <secs> default per-test allowance when timeouts are on\n --test-products <path> where to find the built test products\n --test-timeout <secs> per-test execution allowance (default: 300, 0 disables)\n --max-failures <n> failures to list before summarizing the rest (default: 20)\nexit:\n 0 all tests passed, 1 a test or the build failed, 2 usage error\nexamples:\n xcodebuild-axi test\n xcodebuild-axi test --scheme MyApp --device \"iPhone 17 Pro\"\n xcodebuild-axi test --scheme MyApp --only MyAppTests/CheckoutTests\n xcodebuild-axi test --scheme MyApp --coverage\n";
1
+ export declare const TEST_HELP = "usage: xcodebuild-axi test [flags]\nRuns a scheme's tests and reports the counts plus only the failures.\nflags[67]:\n --scheme <name> scheme to act on (required only when the project has more than one)\n --target <name> build a target instead of a scheme; repeatable (project only)\n --all-targets build every target in the project (project only)\n --device <name> simulator or device name, e.g. \"iPhone 17 Pro\" (default: newest simulator)\n --destination <spec> raw xcodebuild destination specifier, passed through untouched\n --configuration <name> build configuration (default: the scheme's own)\n --sdk <name> base SDK, e.g. iphonesimulator\n --arch <arch> architecture to build; repeatable or comma-separated\n --toolchain <name> toolchain identifier or name\n --xcconfig <path> apply build settings from this file as overrides\n --derived-data <path> derived data directory\n --artifacts-dir <path> where to write this run's log and .xcresult (default: the tool's cache)\n --jobs <n> maximum concurrent build operations\n --setting KEY=VALUE build setting override; repeatable or comma-separated\n --sign allow code signing (off by default, so simulator builds need no team)\n --allow-provisioning let xcodebuild talk to the developer portal for profiles\n --sanitizer <name> address, thread, or undefined; repeatable or comma-separated\n --timing report per-command build timings\n --destination-timeout <secs> how long to wait for the destination device\n --parallelize-targets build independent targets in parallel\n --hide-script-env omit shell script environment variables from the log\n --skip-unavailable-actions skip scheme actions that cannot run instead of failing\n --max-errors <n> errors to list before summarizing the rest (default: 20)\n --full list every warning instead of the first 10\n --codesize <dir> write a code size profile to this directory\n --log-level <level> quiet, normal, or verbose \u2014 how much lands in the log file\n --bundle-version <n> result bundle format version (default: xcodebuild's own)\n --stream <path> also write xcodebuild's live result stream here\n --offline resolve using only the versions already in Package.resolved\n --cache <path> clone remote packages into this directory\n --package-cache <path> shared package cache directory (across projects)\n --no-auto-resolve never resolve automatically; fail if Package.resolved is stale\n --skip-package-updates use the packages already cloned, without checking for updates\n --no-package-cache ignore the shared package repository cache\n --skip-plugin-validation trust build plugins without prompting\n --skip-signature-validation do not verify package signatures\n --package-auth <kind> keychain or netrc\n --registry-url <url> default package registry\n --scm-to-registry <kind> none, identity, or swift-package-registry\n --fingerprint-policy <kind> strict or warn\n --signing-entity-policy <kind> strict or warn\n --scm-provider <kind> system or xcode\n --test-plan <name> test plan to run\n --only <id> run only this test/class/target; repeatable or comma-separated\n --skip <id> skip this test/class/target; repeatable or comma-separated\n --coverage collect code coverage and report the overall percentage\n --without-building test already-built products (test-without-building)\n --xctestrun <path> test from an .xctestrun file instead of a scheme\n --parallel <n> exact number of parallel test runners\n --no-parallel disable parallel testing\n --iterations <n> run the tests this many times\n --retry retry failures, up to --iterations (default 3)\n --until-failure repeat until something fails, up to --iterations (default 100)\n --language <iso639> run in this language\n --region <iso3166> run in this region\n --diagnostics collect verbose diagnostics on failure\n --perf-diagnostics collect performance traces and memgraphs for performance tests\n --relaunch relaunch the process between repetitions\n --only-configuration <name> run only this test configuration; repeatable\n --skip-configuration <name> skip this test configuration; repeatable\n --max-workers <n> cap on parallel test runners\n --max-sim-destinations <n> cap on simulator destinations tested concurrently\n --max-device-destinations <n> cap on device destinations tested concurrently\n --default-test-timeout <secs> default per-test allowance when timeouts are on\n --test-products <path> where to find the built test products\n --test-timeout <secs> per-test execution allowance (default: 300, 0 disables)\n --max-failures <n> failures to list before summarizing the rest (default: 20)\nexit:\n 0 all tests passed, 1 a test or the build failed, 2 usage error\nexamples:\n xcodebuild-axi test\n xcodebuild-axi test --scheme MyApp --device \"iPhone 17 Pro\"\n xcodebuild-axi test --scheme MyApp --only MyAppTests/CheckoutTests\n xcodebuild-axi test --scheme MyApp --coverage\n";
2
2
  export declare function testCommand(args: string[]): Promise<string>;
@@ -7,7 +7,7 @@ import { duration, renderFields, renderHelp, renderList, renderOutput, tildePath
7
7
  import { getFlag, getIntFlag, getListFlag, hasFlag, rejectUnknownFlags, } from "../args.js";
8
8
  export const TEST_HELP = `usage: xcodebuild-axi test [flags]
9
9
  Runs a scheme's tests and reports the counts plus only the failures.
10
- flags[66]:
10
+ flags[67]:
11
11
  ${BUILD_FLAG_HELP}
12
12
  --test-plan <name> test plan to run
13
13
  --only <id> run only this test/class/target; repeatable or comma-separated
@@ -1,4 +1,4 @@
1
- export declare const TESTS_HELP = "usage: xcodebuild-axi tests [flags]\nLists the tests a scheme would run, without running them. Grouped by suite,\nbecause a thousand identifiers is not an answer.\nflags[45]:\n --scheme <name> scheme to act on (required only when the project has more than one)\n --target <name> build a target instead of a scheme; repeatable (project only)\n --all-targets build every target in the project (project only)\n --device <name> simulator or device name, e.g. \"iPhone 17 Pro\" (default: newest simulator)\n --destination <spec> raw xcodebuild destination specifier, passed through untouched\n --configuration <name> build configuration (default: the scheme's own)\n --sdk <name> base SDK, e.g. iphonesimulator\n --arch <arch> architecture to build; repeatable or comma-separated\n --toolchain <name> toolchain identifier or name\n --xcconfig <path> apply build settings from this file as overrides\n --derived-data <path> derived data directory\n --jobs <n> maximum concurrent build operations\n --setting KEY=VALUE build setting override; repeatable or comma-separated\n --sign allow code signing (off by default, so simulator builds need no team)\n --allow-provisioning let xcodebuild talk to the developer portal for profiles\n --sanitizer <name> address, thread, or undefined; repeatable or comma-separated\n --timing report per-command build timings\n --destination-timeout <secs> how long to wait for the destination device\n --parallelize-targets build independent targets in parallel\n --hide-script-env omit shell script environment variables from the log\n --skip-unavailable-actions skip scheme actions that cannot run instead of failing\n --max-errors <n> errors to list before summarizing the rest (default: 20)\n --full list every warning instead of the first 10\n --codesize <dir> write a code size profile to this directory\n --log-level <level> quiet, normal, or verbose \u2014 how much lands in the log file\n --bundle-version <n> result bundle format version (default: xcodebuild's own)\n --stream <path> also write xcodebuild's live result stream here\n --offline resolve using only the versions already in Package.resolved\n --cache <path> clone remote packages into this directory\n --package-cache <path> shared package cache directory (across projects)\n --no-auto-resolve never resolve automatically; fail if Package.resolved is stale\n --skip-package-updates use the packages already cloned, without checking for updates\n --no-package-cache ignore the shared package repository cache\n --skip-plugin-validation trust build plugins without prompting\n --skip-signature-validation do not verify package signatures\n --package-auth <kind> keychain or netrc\n --registry-url <url> default package registry\n --scm-to-registry <kind> none, identity, or swift-package-registry\n --fingerprint-policy <kind> strict or warn\n --signing-entity-policy <kind> strict or warn\n --scm-provider <kind> system or xcode\n --test-plan <name> test plan to enumerate\n --filter <text> only suites or tests whose identifier contains this\n --list print every test identifier instead of per-suite counts\n --max <n> rows to list before summarizing the rest (default: 40)\nnote:\n Enumerating compiles the test bundle, so the first run is as slow as a build.\n It is still far cheaper than running the tests to find out what they are.\nexamples:\n xcodebuild-axi tests --scheme MyApp\n xcodebuild-axi tests --scheme MyApp --filter AppFeature --list\n";
1
+ export declare const TESTS_HELP = "usage: xcodebuild-axi tests [flags]\nLists the tests a scheme would run, without running them. Grouped by suite,\nbecause a thousand identifiers is not an answer.\nflags[46]:\n --scheme <name> scheme to act on (required only when the project has more than one)\n --target <name> build a target instead of a scheme; repeatable (project only)\n --all-targets build every target in the project (project only)\n --device <name> simulator or device name, e.g. \"iPhone 17 Pro\" (default: newest simulator)\n --destination <spec> raw xcodebuild destination specifier, passed through untouched\n --configuration <name> build configuration (default: the scheme's own)\n --sdk <name> base SDK, e.g. iphonesimulator\n --arch <arch> architecture to build; repeatable or comma-separated\n --toolchain <name> toolchain identifier or name\n --xcconfig <path> apply build settings from this file as overrides\n --derived-data <path> derived data directory\n --artifacts-dir <path> where to write this run's log and .xcresult (default: the tool's cache)\n --jobs <n> maximum concurrent build operations\n --setting KEY=VALUE build setting override; repeatable or comma-separated\n --sign allow code signing (off by default, so simulator builds need no team)\n --allow-provisioning let xcodebuild talk to the developer portal for profiles\n --sanitizer <name> address, thread, or undefined; repeatable or comma-separated\n --timing report per-command build timings\n --destination-timeout <secs> how long to wait for the destination device\n --parallelize-targets build independent targets in parallel\n --hide-script-env omit shell script environment variables from the log\n --skip-unavailable-actions skip scheme actions that cannot run instead of failing\n --max-errors <n> errors to list before summarizing the rest (default: 20)\n --full list every warning instead of the first 10\n --codesize <dir> write a code size profile to this directory\n --log-level <level> quiet, normal, or verbose \u2014 how much lands in the log file\n --bundle-version <n> result bundle format version (default: xcodebuild's own)\n --stream <path> also write xcodebuild's live result stream here\n --offline resolve using only the versions already in Package.resolved\n --cache <path> clone remote packages into this directory\n --package-cache <path> shared package cache directory (across projects)\n --no-auto-resolve never resolve automatically; fail if Package.resolved is stale\n --skip-package-updates use the packages already cloned, without checking for updates\n --no-package-cache ignore the shared package repository cache\n --skip-plugin-validation trust build plugins without prompting\n --skip-signature-validation do not verify package signatures\n --package-auth <kind> keychain or netrc\n --registry-url <url> default package registry\n --scm-to-registry <kind> none, identity, or swift-package-registry\n --fingerprint-policy <kind> strict or warn\n --signing-entity-policy <kind> strict or warn\n --scm-provider <kind> system or xcode\n --test-plan <name> test plan to enumerate\n --filter <text> only suites or tests whose identifier contains this\n --list print every test identifier instead of per-suite counts\n --max <n> rows to list before summarizing the rest (default: 40)\nnote:\n Enumerating compiles the test bundle, so the first run is as slow as a build.\n It is still far cheaper than running the tests to find out what they are.\nexamples:\n xcodebuild-axi tests --scheme MyApp\n xcodebuild-axi tests --scheme MyApp --filter AppFeature --list\n";
2
2
  export declare function testsCommand(args: string[]): Promise<string>;
3
3
  /**
4
4
  * Collapse `Target/Suite/testName()` identifiers into one row per suite.
@@ -8,7 +8,7 @@ import { getFlag, getIntFlag, hasFlag, rejectUnknownFlags } from "../args.js";
8
8
  export const TESTS_HELP = `usage: xcodebuild-axi tests [flags]
9
9
  Lists the tests a scheme would run, without running them. Grouped by suite,
10
10
  because a thousand identifiers is not an answer.
11
- flags[45]:
11
+ flags[46]:
12
12
  ${BUILD_FLAG_HELP}
13
13
  --test-plan <name> test plan to enumerate
14
14
  --filter <text> only suites or tests whose identifier contains this
@@ -270,8 +270,8 @@ export const OPTION_COVERAGE = {
270
270
  why: "set from the .xcodeproj found in the working directory",
271
271
  },
272
272
  "-resultBundlePath": {
273
- status: "always",
274
- why: "every action writes a bundle to the tool's cache — that bundle is what the report is read from",
273
+ status: "exposed",
274
+ via: "build --artifacts-dir",
275
275
  },
276
276
  "-skipMacroValidation": {
277
277
  status: "always",
@@ -1 +1 @@
1
- {"version":3,"file":"surface.js","sourceRoot":"","sources":["../../src/surface.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,MAAM,CAAC;AAYvC,MAAM,CAAC,MAAM,eAAe,GAAmC;IAC7D,sCAAsC,EAAE;QACtC,MAAM,EAAE,SAAS;QACjB,GAAG,EAAE,qCAAqC;KAC3C;IACD,2BAA2B,EAAE;QAC3B,M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,OAAO;QACP,MAAM;QACN,UAAU;QACV,EAAE;QACF,OAAO;QACP,sEAAsE;QACtE,4DAA4D;QAC5D,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,OAAO,GAAG,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,GAAG,EAAE;KAC3D,CAAC;AACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xcodebuild-axi",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "AXI-compliant xcodebuild wrapper — turns multi-megabyte Xcode build and test transcripts into a few lines of TOON",
5
5
  "type": "module",
6
6
  "repository": {