@hot-updater/apple-helper 1.1.4 → 1.2.0-rc.1

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/index.d.cts CHANGED
@@ -1,4 +1,63 @@
1
- import { ApplePlatform, NativeBuildIosScheme, NativeBuildOptions } from "@hot-updater/plugin-core";
1
+ import { CredentialRequest, CredentialResolver, Credentials } from "@hot-updater/cli-tools";
2
+ import { NativeBuildIosScheme } from "@hot-updater/plugin-core";
3
+ //#region src/ascApiKey.d.ts
4
+ /** Where team API keys are listed and revoked in App Store Connect. */
5
+ declare const ASC_INTEGRATIONS_URL = "https://appstoreconnect.apple.com/access/integrations/api";
6
+ /** A team API key's role, as App Store Connect names it. */
7
+ type AscApiKeyRole = "ADMIN" | "APP_MANAGER" | "DEVELOPER";
8
+ /** The App Store Connect team an Apple Account signed in to. */
9
+ interface AscTeam {
10
+ readonly appleId?: string;
11
+ /** The team ID to pass as `teamId` to issue the key in this team. */
12
+ readonly teamId?: string;
13
+ /** The Apple Developer team ID, as Xcode's DEVELOPMENT_TEAM names it. */
14
+ readonly developerTeamId?: string;
15
+ }
16
+ interface IssueAscApiKeyRequest {
17
+ /** The key's name in App Store Connect. */
18
+ readonly name: string;
19
+ readonly role: AscApiKeyRole;
20
+ /** The Apple Account to sign in with; the sign-in asks for it when unset. */
21
+ readonly appleId?: string;
22
+ /** The team to issue the key in; else the one the sign-in lands in. */
23
+ readonly teamId?: string;
24
+ /**
25
+ * Sees the team the sign-in landed in, when `teamId` is unset, and
26
+ * returns another team's ID to issue the key there instead.
27
+ */
28
+ readonly chooseTeam?: (team: AscTeam) => Promise<string | undefined>;
29
+ }
30
+ /**
31
+ * An App Store Connect team API key, just issued, with its one-time private
32
+ * key and the signed-in session it was issued in. `dispose` ends that
33
+ * session and deletes everything the sign-in kept; `revoke` works until then.
34
+ */
35
+ interface IssuedAscApiKey {
36
+ /** The `.p8` private key, a PEM. */
37
+ readonly p8: string;
38
+ readonly keyId: string;
39
+ readonly issuerId: string;
40
+ /** The key's name in App Store Connect. */
41
+ readonly name: string;
42
+ readonly team: AscTeam;
43
+ /** Revokes the key with the same session; whether App Store Connect did. */
44
+ revoke(): Promise<boolean>;
45
+ dispose(): Promise<void>;
46
+ }
47
+ /**
48
+ * Signs in to App Store Connect with an Apple Account and issues a team API
49
+ * key. The developer types the password and the two-factor code into the
50
+ * sign-in's prompts; the caller never sees them. Nothing of the sign-in
51
+ * outlives `dispose`.
52
+ */
53
+ type IssueAscApiKey = (request: IssueAscApiKeyRequest) => Promise<IssuedAscApiKey>;
54
+ /**
55
+ * Hot Updater's sign-in, the one place that picks how it is done: asc, the
56
+ * open-source App Store Connect CLI. Another implementation of
57
+ * `IssueAscApiKey` replaces it here without touching its callers.
58
+ */
59
+ declare const issueAscApiKey: IssueAscApiKey;
60
+ //#endregion
2
61
  //#region src/utils/enrichNativeBuildIosScheme.d.ts
3
62
  /**
4
63
  * Validated scheme filled nullish values with default values.
@@ -12,35 +71,152 @@ declare const enrichNativeBuildIosScheme: ({ scheme, hotUpdaterSchemeName }: {
12
71
  }) => Promise<EnrichedNativeBuildIosScheme>;
13
72
  //#endregion
14
73
  //#region src/buildIos.d.ts
15
- declare const buildIos: ({ schemeConfig }: {
74
+ /**
75
+ * Builds a simulator `.app` for a `simulator` scheme, and otherwise archives
76
+ * and exports an `.ipa`, or returns the `.xcarchive` of a scheme it cannot
77
+ * export: one with neither `exportOptionsPlist` nor `signing.ascApiKey`.
78
+ *
79
+ * The artifact is in a temporary `buildDirectory`, which `dispose` removes
80
+ * once the caller has copied it out. A failed build removes it, and every
81
+ * other directory the build used, itself.
82
+ */
83
+ declare const buildIos: ({ schemeConfig, minBundleId, credentials }: {
16
84
  schemeConfig: EnrichedNativeBuildIosScheme;
85
+ /** The MIN_BUNDLE_ID the build compiles in. */
86
+ minBundleId?: string;
87
+ /** Resolves the scheme's `signing` key, when a device build signs with one. */
88
+ credentials?: Pick<CredentialResolver, "resolve">;
17
89
  }) => Promise<{
18
90
  buildDirectory: string;
19
91
  buildArtifactPath: string;
92
+ /** What the built app reports, from its Info.plist. */
93
+ builtApp?: {
94
+ appVersion: string | null;
95
+ channel: string | null;
96
+ /** The app's `CFBundleVersion`. */
97
+ buildNumber: string | null;
98
+ };
99
+ /** Removes `buildDirectory`, once the artifact is copied out of it. */
100
+ dispose: () => Promise<void>;
20
101
  }>;
21
102
  //#endregion
103
+ //#region src/uploadToTestFlight.d.ts
104
+ type AppStoreConnectApiKey = Credentials["asc-api-key"];
105
+ /**
106
+ * App Store Connect refused the upload: it already has a build with the
107
+ * `.ipa`'s version and build number, from this or another upload, and takes
108
+ * each build number once per version.
109
+ */
110
+ declare class TestFlightBuildExistsError extends Error {
111
+ readonly shortVersion: string;
112
+ readonly bundleVersion: string;
113
+ readonly name = "TestFlightBuildExistsError";
114
+ constructor(shortVersion: string, bundleVersion: string, options?: ErrorOptions);
115
+ }
116
+ /**
117
+ * The App Store Connect API key a scheme's `.ipa` uploads with: the
118
+ * `signing.ascApiKey` it signs with, or else the `asc-api-key` item. It reads
119
+ * the config, and the scheme's files that exist before the native projects
120
+ * are written, and throws, saying why, for a scheme whose build App Store
121
+ * Connect would not take: a simulator `.app`, a Debug configuration, which
122
+ * loads its JavaScript from Metro, code signing turned off, an
123
+ * `.xcarchive` it cannot export, or export options of another method. An
124
+ * `exportOptionsPlist` the adapter's prebuild writes later is checked after
125
+ * it (`assertTestFlightExportOptions`).
126
+ */
127
+ declare const resolveTestFlightUploadKey: ({ scheme, iosScheme }: {
128
+ /** The scheme's name. */
129
+ scheme: string;
130
+ iosScheme: NativeBuildIosScheme;
131
+ }) => Promise<CredentialRequest<"asc-api-key">>;
132
+ /**
133
+ * Throws when the scheme's `exportOptionsPlist` exports with another method
134
+ * than App Store Connect's, whose `.ipa` App Store Connect refuses. It reads
135
+ * the file, which an adapter's prebuild may write, so it runs after it.
136
+ */
137
+ declare const assertTestFlightExportOptions: (schemeConfig: EnrichedNativeBuildIosScheme) => Promise<void>;
138
+ interface UploadToTestFlightResult {
139
+ /** The App Store Connect app the build went to. */
140
+ appId: string;
141
+ buildUploadId: string;
142
+ /**
143
+ * `COMPLETE` once App Store Connect accepted the build, or `PROCESSING`
144
+ * when it was still processing it after `processingTimeoutMs`.
145
+ */
146
+ state: "COMPLETE" | "PROCESSING";
147
+ /** The app's TestFlight page, where the build appears once processed. */
148
+ testFlightUrl: string;
149
+ /** The build's version, its `CFBundleShortVersionString`. */
150
+ shortVersion: string;
151
+ /** The build's number, its `CFBundleVersion`, which TestFlight lists it by. */
152
+ bundleVersion: string;
153
+ }
154
+ /**
155
+ * Whether App Store Connect already has the `.ipa`'s build: a build of its
156
+ * version with its build number, which TestFlight lists or is processing,
157
+ * as when a reused native build was uploaded before. A build upload that
158
+ * never finished is no build, so uploading again fails as it would without
159
+ * this check.
160
+ */
161
+ declare const findTestFlightBuild: ({ ipaPath, apiKey, fetch }: {
162
+ ipaPath: string;
163
+ apiKey: AppStoreConnectApiKey;
164
+ fetch?: typeof globalThis.fetch;
165
+ }) => Promise<{
166
+ found: boolean;
167
+ testFlightUrl: string;
168
+ shortVersion: string;
169
+ bundleVersion: string;
170
+ }>;
171
+ /**
172
+ * Uploads an `.ipa` to App Store Connect, which lists it in TestFlight, with
173
+ * the App Store Connect API's build uploads: it finds the app by the
174
+ * `.ipa`'s bundle ID, reserves the build's version and build number, sends
175
+ * the file in the parts App Store Connect asks for, commits it, and waits
176
+ * for App Store Connect to accept or reject the build.
177
+ */
178
+ declare const uploadToTestFlight: ({ ipaPath, apiKey, fetch, pollIntervalMs, processingTimeoutMs }: {
179
+ ipaPath: string;
180
+ apiKey: AppStoreConnectApiKey;
181
+ fetch?: typeof globalThis.fetch;
182
+ /** How often to check whether App Store Connect accepted the build. */
183
+ pollIntervalMs?: number;
184
+ /** How long to wait for App Store Connect to accept the build. */
185
+ processingTimeoutMs?: number;
186
+ }) => Promise<UploadToTestFlightResult>;
187
+ //#endregion
22
188
  //#region src/types.d.ts
23
- type DeviceState = "Booted" | "Shutdown";
189
+ /** Whether a build is for a physical device or a simulator. */
24
190
  type AppleDeviceType = "device" | "simulator";
25
- type AppleDevice = {
26
- name: string;
27
- udid: string;
28
- version: string;
29
- platform: ApplePlatform;
30
- state: DeviceState;
31
- type: AppleDeviceType;
32
- };
33
- interface IosNativeRunOptions extends NativeBuildOptions {
34
- device?: string | boolean;
35
- }
36
191
  //#endregion
37
- //#region src/runIos.d.ts
38
- declare const runIos: ({ schemeConfig, runOption }: {
39
- schemeConfig: EnrichedNativeBuildIosScheme;
40
- runOption: IosNativeRunOptions;
41
- }) => Promise<{
192
+ //#region src/utils/cocoapods.d.ts
193
+ declare const installPodsIfNeeded: (sourceDir: string) => Promise<void>;
194
+ //#endregion
195
+ //#region src/utils/extractBuiltInBundle.d.ts
196
+ /**
197
+ * Copies the JavaScript bundle React Native's Xcode build phase wrote into a
198
+ * `.app` or an `.ipa` (`Payload/<App>.app/main.jsbundle`) to `outputPath`:
199
+ * the built-in bundle, byte for byte, which no rebuild reproduces.
200
+ */
201
+ declare const extractBuiltInBundle: ({ artifactPath, outputPath }: {
202
+ artifactPath: string;
203
+ outputPath: string;
204
+ }) => Promise<void>;
205
+ /**
206
+ * Unpacks a `.app` that `archiveAppBundle` stored as one zip file into
207
+ * `outputPath`, which then holds the `.app` directory.
208
+ */
209
+ declare const extractAppBundle: ({ archivePath, outputPath }: {
210
+ archivePath: string;
211
+ outputPath: string;
212
+ }) => Promise<void>;
213
+ /**
214
+ * A `.app` directory as one zip file, the way Finder and Xcode archive it,
215
+ * so a simulator build uploads and downloads as a single artifact.
216
+ */
217
+ declare const archiveAppBundle: ({ appPath, outputPath }: {
42
218
  appPath: string;
43
- infoPlistPath: string;
44
- }>;
219
+ outputPath: string;
220
+ }) => Promise<void>;
45
221
  //#endregion
46
- export { type AppleDevice, type AppleDeviceType, type DeviceState, type EnrichedNativeBuildIosScheme, type IosNativeRunOptions, buildIos, enrichNativeBuildIosScheme, runIos };
222
+ export { ASC_INTEGRATIONS_URL, type AppleDeviceType, type AscApiKeyRole, type AscTeam, type EnrichedNativeBuildIosScheme, type IssueAscApiKey, type IssueAscApiKeyRequest, type IssuedAscApiKey, TestFlightBuildExistsError, type UploadToTestFlightResult, archiveAppBundle, assertTestFlightExportOptions, buildIos, enrichNativeBuildIosScheme, extractAppBundle, extractBuiltInBundle, findTestFlightBuild, installPodsIfNeeded, issueAscApiKey, resolveTestFlightUploadKey, uploadToTestFlight };
package/dist/index.d.mts CHANGED
@@ -1,4 +1,64 @@
1
- import { ApplePlatform, NativeBuildIosScheme, NativeBuildOptions } from "@hot-updater/plugin-core";
1
+ import { CredentialRequest, CredentialResolver, Credentials } from "@hot-updater/cli-tools";
2
+ import crypto from "crypto";
3
+ import { NativeBuildIosScheme } from "@hot-updater/plugin-core";
4
+ //#region src/ascApiKey.d.ts
5
+ /** Where team API keys are listed and revoked in App Store Connect. */
6
+ declare const ASC_INTEGRATIONS_URL = "https://appstoreconnect.apple.com/access/integrations/api";
7
+ /** A team API key's role, as App Store Connect names it. */
8
+ type AscApiKeyRole = "ADMIN" | "APP_MANAGER" | "DEVELOPER";
9
+ /** The App Store Connect team an Apple Account signed in to. */
10
+ interface AscTeam {
11
+ readonly appleId?: string;
12
+ /** The team ID to pass as `teamId` to issue the key in this team. */
13
+ readonly teamId?: string;
14
+ /** The Apple Developer team ID, as Xcode's DEVELOPMENT_TEAM names it. */
15
+ readonly developerTeamId?: string;
16
+ }
17
+ interface IssueAscApiKeyRequest {
18
+ /** The key's name in App Store Connect. */
19
+ readonly name: string;
20
+ readonly role: AscApiKeyRole;
21
+ /** The Apple Account to sign in with; the sign-in asks for it when unset. */
22
+ readonly appleId?: string;
23
+ /** The team to issue the key in; else the one the sign-in lands in. */
24
+ readonly teamId?: string;
25
+ /**
26
+ * Sees the team the sign-in landed in, when `teamId` is unset, and
27
+ * returns another team's ID to issue the key there instead.
28
+ */
29
+ readonly chooseTeam?: (team: AscTeam) => Promise<string | undefined>;
30
+ }
31
+ /**
32
+ * An App Store Connect team API key, just issued, with its one-time private
33
+ * key and the signed-in session it was issued in. `dispose` ends that
34
+ * session and deletes everything the sign-in kept; `revoke` works until then.
35
+ */
36
+ interface IssuedAscApiKey {
37
+ /** The `.p8` private key, a PEM. */
38
+ readonly p8: string;
39
+ readonly keyId: string;
40
+ readonly issuerId: string;
41
+ /** The key's name in App Store Connect. */
42
+ readonly name: string;
43
+ readonly team: AscTeam;
44
+ /** Revokes the key with the same session; whether App Store Connect did. */
45
+ revoke(): Promise<boolean>;
46
+ dispose(): Promise<void>;
47
+ }
48
+ /**
49
+ * Signs in to App Store Connect with an Apple Account and issues a team API
50
+ * key. The developer types the password and the two-factor code into the
51
+ * sign-in's prompts; the caller never sees them. Nothing of the sign-in
52
+ * outlives `dispose`.
53
+ */
54
+ type IssueAscApiKey = (request: IssueAscApiKeyRequest) => Promise<IssuedAscApiKey>;
55
+ /**
56
+ * Hot Updater's sign-in, the one place that picks how it is done: asc, the
57
+ * open-source App Store Connect CLI. Another implementation of
58
+ * `IssueAscApiKey` replaces it here without touching its callers.
59
+ */
60
+ declare const issueAscApiKey: IssueAscApiKey;
61
+ //#endregion
2
62
  //#region src/utils/enrichNativeBuildIosScheme.d.ts
3
63
  /**
4
64
  * Validated scheme filled nullish values with default values.
@@ -12,35 +72,152 @@ declare const enrichNativeBuildIosScheme: ({ scheme, hotUpdaterSchemeName }: {
12
72
  }) => Promise<EnrichedNativeBuildIosScheme>;
13
73
  //#endregion
14
74
  //#region src/buildIos.d.ts
15
- declare const buildIos: ({ schemeConfig }: {
75
+ /**
76
+ * Builds a simulator `.app` for a `simulator` scheme, and otherwise archives
77
+ * and exports an `.ipa`, or returns the `.xcarchive` of a scheme it cannot
78
+ * export: one with neither `exportOptionsPlist` nor `signing.ascApiKey`.
79
+ *
80
+ * The artifact is in a temporary `buildDirectory`, which `dispose` removes
81
+ * once the caller has copied it out. A failed build removes it, and every
82
+ * other directory the build used, itself.
83
+ */
84
+ declare const buildIos: ({ schemeConfig, minBundleId, credentials }: {
16
85
  schemeConfig: EnrichedNativeBuildIosScheme;
86
+ /** The MIN_BUNDLE_ID the build compiles in. */
87
+ minBundleId?: string;
88
+ /** Resolves the scheme's `signing` key, when a device build signs with one. */
89
+ credentials?: Pick<CredentialResolver, "resolve">;
17
90
  }) => Promise<{
18
91
  buildDirectory: string;
19
92
  buildArtifactPath: string;
93
+ /** What the built app reports, from its Info.plist. */
94
+ builtApp?: {
95
+ appVersion: string | null;
96
+ channel: string | null;
97
+ /** The app's `CFBundleVersion`. */
98
+ buildNumber: string | null;
99
+ };
100
+ /** Removes `buildDirectory`, once the artifact is copied out of it. */
101
+ dispose: () => Promise<void>;
20
102
  }>;
21
103
  //#endregion
104
+ //#region src/uploadToTestFlight.d.ts
105
+ type AppStoreConnectApiKey = Credentials["asc-api-key"];
106
+ /**
107
+ * App Store Connect refused the upload: it already has a build with the
108
+ * `.ipa`'s version and build number, from this or another upload, and takes
109
+ * each build number once per version.
110
+ */
111
+ declare class TestFlightBuildExistsError extends Error {
112
+ readonly shortVersion: string;
113
+ readonly bundleVersion: string;
114
+ readonly name = "TestFlightBuildExistsError";
115
+ constructor(shortVersion: string, bundleVersion: string, options?: ErrorOptions);
116
+ }
117
+ /**
118
+ * The App Store Connect API key a scheme's `.ipa` uploads with: the
119
+ * `signing.ascApiKey` it signs with, or else the `asc-api-key` item. It reads
120
+ * the config, and the scheme's files that exist before the native projects
121
+ * are written, and throws, saying why, for a scheme whose build App Store
122
+ * Connect would not take: a simulator `.app`, a Debug configuration, which
123
+ * loads its JavaScript from Metro, code signing turned off, an
124
+ * `.xcarchive` it cannot export, or export options of another method. An
125
+ * `exportOptionsPlist` the adapter's prebuild writes later is checked after
126
+ * it (`assertTestFlightExportOptions`).
127
+ */
128
+ declare const resolveTestFlightUploadKey: ({ scheme, iosScheme }: {
129
+ /** The scheme's name. */
130
+ scheme: string;
131
+ iosScheme: NativeBuildIosScheme;
132
+ }) => Promise<CredentialRequest<"asc-api-key">>;
133
+ /**
134
+ * Throws when the scheme's `exportOptionsPlist` exports with another method
135
+ * than App Store Connect's, whose `.ipa` App Store Connect refuses. It reads
136
+ * the file, which an adapter's prebuild may write, so it runs after it.
137
+ */
138
+ declare const assertTestFlightExportOptions: (schemeConfig: EnrichedNativeBuildIosScheme) => Promise<void>;
139
+ interface UploadToTestFlightResult {
140
+ /** The App Store Connect app the build went to. */
141
+ appId: string;
142
+ buildUploadId: string;
143
+ /**
144
+ * `COMPLETE` once App Store Connect accepted the build, or `PROCESSING`
145
+ * when it was still processing it after `processingTimeoutMs`.
146
+ */
147
+ state: "COMPLETE" | "PROCESSING";
148
+ /** The app's TestFlight page, where the build appears once processed. */
149
+ testFlightUrl: string;
150
+ /** The build's version, its `CFBundleShortVersionString`. */
151
+ shortVersion: string;
152
+ /** The build's number, its `CFBundleVersion`, which TestFlight lists it by. */
153
+ bundleVersion: string;
154
+ }
155
+ /**
156
+ * Whether App Store Connect already has the `.ipa`'s build: a build of its
157
+ * version with its build number, which TestFlight lists or is processing,
158
+ * as when a reused native build was uploaded before. A build upload that
159
+ * never finished is no build, so uploading again fails as it would without
160
+ * this check.
161
+ */
162
+ declare const findTestFlightBuild: ({ ipaPath, apiKey, fetch }: {
163
+ ipaPath: string;
164
+ apiKey: AppStoreConnectApiKey;
165
+ fetch?: typeof globalThis.fetch;
166
+ }) => Promise<{
167
+ found: boolean;
168
+ testFlightUrl: string;
169
+ shortVersion: string;
170
+ bundleVersion: string;
171
+ }>;
172
+ /**
173
+ * Uploads an `.ipa` to App Store Connect, which lists it in TestFlight, with
174
+ * the App Store Connect API's build uploads: it finds the app by the
175
+ * `.ipa`'s bundle ID, reserves the build's version and build number, sends
176
+ * the file in the parts App Store Connect asks for, commits it, and waits
177
+ * for App Store Connect to accept or reject the build.
178
+ */
179
+ declare const uploadToTestFlight: ({ ipaPath, apiKey, fetch, pollIntervalMs, processingTimeoutMs }: {
180
+ ipaPath: string;
181
+ apiKey: AppStoreConnectApiKey;
182
+ fetch?: typeof globalThis.fetch;
183
+ /** How often to check whether App Store Connect accepted the build. */
184
+ pollIntervalMs?: number;
185
+ /** How long to wait for App Store Connect to accept the build. */
186
+ processingTimeoutMs?: number;
187
+ }) => Promise<UploadToTestFlightResult>;
188
+ //#endregion
22
189
  //#region src/types.d.ts
23
- type DeviceState = "Booted" | "Shutdown";
190
+ /** Whether a build is for a physical device or a simulator. */
24
191
  type AppleDeviceType = "device" | "simulator";
25
- type AppleDevice = {
26
- name: string;
27
- udid: string;
28
- version: string;
29
- platform: ApplePlatform;
30
- state: DeviceState;
31
- type: AppleDeviceType;
32
- };
33
- interface IosNativeRunOptions extends NativeBuildOptions {
34
- device?: string | boolean;
35
- }
36
192
  //#endregion
37
- //#region src/runIos.d.ts
38
- declare const runIos: ({ schemeConfig, runOption }: {
39
- schemeConfig: EnrichedNativeBuildIosScheme;
40
- runOption: IosNativeRunOptions;
41
- }) => Promise<{
193
+ //#region src/utils/cocoapods.d.ts
194
+ declare const installPodsIfNeeded: (sourceDir: string) => Promise<void>;
195
+ //#endregion
196
+ //#region src/utils/extractBuiltInBundle.d.ts
197
+ /**
198
+ * Copies the JavaScript bundle React Native's Xcode build phase wrote into a
199
+ * `.app` or an `.ipa` (`Payload/<App>.app/main.jsbundle`) to `outputPath`:
200
+ * the built-in bundle, byte for byte, which no rebuild reproduces.
201
+ */
202
+ declare const extractBuiltInBundle: ({ artifactPath, outputPath }: {
203
+ artifactPath: string;
204
+ outputPath: string;
205
+ }) => Promise<void>;
206
+ /**
207
+ * Unpacks a `.app` that `archiveAppBundle` stored as one zip file into
208
+ * `outputPath`, which then holds the `.app` directory.
209
+ */
210
+ declare const extractAppBundle: ({ archivePath, outputPath }: {
211
+ archivePath: string;
212
+ outputPath: string;
213
+ }) => Promise<void>;
214
+ /**
215
+ * A `.app` directory as one zip file, the way Finder and Xcode archive it,
216
+ * so a simulator build uploads and downloads as a single artifact.
217
+ */
218
+ declare const archiveAppBundle: ({ appPath, outputPath }: {
42
219
  appPath: string;
43
- infoPlistPath: string;
44
- }>;
220
+ outputPath: string;
221
+ }) => Promise<void>;
45
222
  //#endregion
46
- export { type AppleDevice, type AppleDeviceType, type DeviceState, type EnrichedNativeBuildIosScheme, type IosNativeRunOptions, buildIos, enrichNativeBuildIosScheme, runIos };
223
+ export { ASC_INTEGRATIONS_URL, type AppleDeviceType, type AscApiKeyRole, type AscTeam, type EnrichedNativeBuildIosScheme, type IssueAscApiKey, type IssueAscApiKeyRequest, type IssuedAscApiKey, TestFlightBuildExistsError, type UploadToTestFlightResult, archiveAppBundle, assertTestFlightExportOptions, buildIos, enrichNativeBuildIosScheme, extractAppBundle, extractBuiltInBundle, findTestFlightBuild, installPodsIfNeeded, issueAscApiKey, resolveTestFlightUploadKey, uploadToTestFlight };