Skip to content

Commit fc7a183

Browse files
committed
Rename iOS secret environment variables in documentation for consistency with the workflow setup.
1 parent 1a46062 commit fc7a183

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

docs/github-workflows-setup/ios-browserstack-workflow-setup.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ These are needed to sign the iOS test package for real device testing.
3333
See the [GitHub docs on signing Xcode applications](https://docs.github.com/en/actions/how-tos/deploy/deploy-to-third-party-platforms/sign-xcode-applications)
3434
for a detailed walkthrough.
3535

36-
| Secret | Where to get it |
37-
|---|---|
38-
| `BUILD_CERTIFICATE_BASE64` | Export a Development certificate (.p12) from Keychain Access, then base64-encode it: `base64 -i build_certificate.p12 \| pbcopy` |
39-
| `P12_PASSWORD` | The password you set when exporting the .p12 certificate. |
40-
| `BUILD_PROVISION_PROFILE_BASE64` | Download the provisioning profile (.mobileprovision) from [Apple Developer > Profiles](https://developer.apple.com/account/resources/profiles/list). It must include the app's bundle ID (`com.mlcommons.inference`). Base64-encode it: `base64 -i profile.mobileprovision \| pbcopy` |
41-
| `KEYCHAIN_PASSWORD` | Any random password for the temporary CI keychain. Generate one with: `openssl rand -base64 32` |
42-
| `APPLE_DEVELOPMENT_TEAM` | Your 10-character Apple Team ID. Find it at [Apple Developer > Membership details](https://developer.apple.com/account#MembershipDetailsCard) or in Xcode under **Signing & Capabilities**. |
36+
| Secret | Where to get it |
37+
|---|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
38+
| `IOS_BUILD_CERTIFICATE_BASE64` | Export a Development certificate (.p12) from Keychain Access or Xcode app, then base64-encode it: `base64 -i build_certificate.p12 \| pbcopy` |
39+
| `IOS_BUILD_CERTIFICATE_PASSWORD` | The password you set when exporting the .p12 certificate. |
40+
| `IOS_BUILD_PROVISION_PROFILE_BASE64` | Download the provisioning profile (.mobileprovision) from [Apple Developer > Profiles](https://developer.apple.com/account/resources/profiles/list). It must include the app's bundle ID (`com.mlcommons.inference`). Base64-encode it: `base64 -i profile.mobileprovision \| pbcopy` |
41+
| `IOS_KEYCHAIN_PASSWORD` | Any random password for the temporary CI keychain. Generate one with: `openssl rand -base64 32` |
42+
| `APPLE_DEVELOPMENT_TEAM` | Your 10-character Apple Team ID. Find it at [Apple Developer > Membership details](https://developer.apple.com/account#MembershipDetailsCard) or in Xcode under **Signing & Capabilities**. |
4343

4444
### Firebase
4545

@@ -86,7 +86,7 @@ under **Project Settings > General > Your apps > iOS app**.
8686
```bash
8787
base64 -i certificate.p12 | pbcopy
8888
```
89-
- Save the base64 string as `BUILD_CERTIFICATE_BASE64` and the password as `P12_PASSWORD`
89+
- Save the base64 string as `IOS_BUILD_CERTIFICATE_BASE64` and the password as `IOS_BUILD_CERTIFICATE_PASSWORD`
9090

9191
### 4. Create a provisioning profile
9292

@@ -100,11 +100,11 @@ under **Project Settings > General > Your apps > iOS app**.
100100
```bash
101101
base64 -i profile.mobileprovision | pbcopy
102102
```
103-
- Save as `BUILD_PROVISION_PROFILE_BASE64`
103+
- Save as `IOS_BUILD_PROVISION_PROFILE_BASE64`
104104

105105
### 5. Set the keychain password
106106

107-
Generate a random password and save it as `KEYCHAIN_PASSWORD`:
107+
Generate a random password and save it as `IOS_KEYCHAIN_PASSWORD`:
108108

109109
```bash
110110
openssl rand -base64 32

0 commit comments

Comments
 (0)