Skip to content

Commit 7628fb5

Browse files
committed
refactor(appium): rename generate_certs to generate_profiles
1 parent 77f8e2e commit 7628fb5

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

appium/scripts/download_profiles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ async function main(): Promise<void> {
209209
if (!profile) {
210210
throw new Error(
211211
`No ACTIVE ${PROFILE_TYPE} profile found for bundle ID ${bundleId}. ` +
212-
`Run generate_certs.ts (or create one in the developer portal) and retry.`,
212+
`Run generate_profiles.ts (or create one in the developer portal) and retry.`,
213213
);
214214
}
215215

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22
/**
33
* Create (or regenerate) iOS Development provisioning profiles for the OneSignal
44
* demo app (main target, Notification Service Extension, Live Activity widget)
5-
* via the App Store Connect API.
5+
* via the App Store Connect API. It does not create signing certificates.
66
*
77
* Idempotent: if a profile with the target name already exists, it is deleted
88
* and recreated with all currently registered dev certs + enabled iOS devices.
9-
* Re-run whenever you register a new device or rotate a signing cert.
9+
* Re-run after registering a device, rotating a signing certificate, or when
10+
* Apple's one-year profile validity expires.
1011
*
1112
* Prerequisites
1213
* -------------
@@ -27,7 +28,7 @@
2728
* Usage
2829
* -----
2930
* ASC_KEY_ID=... ASC_ISSUER_ID=... ASC_KEY_FILE=$HOME/Documents/AuthKey_XXX.p8 \
30-
* bun appium/scripts/generate_certs.ts
31+
* bun appium/scripts/generate_profiles.ts
3132
*/
3233

3334
import { createPrivateKey, sign } from 'node:crypto';

0 commit comments

Comments
 (0)