I got a similar issue when trying to work with Apple Distribution Certificate in credential manager. It says I need a --apple-id
flag and EXPO_APPLE_PASSWORD
env variable. I’ve got both set and even tried adding the env EXPO_APPLE_ID
.
cjs-MBP13-2017:myapp cj$ expo credentials:manager
Configuring credentials for kickinespresso in project my-rewards
? Select platform ios
Fetching available credentials
Available credentials for iOS apps
Application credentials
...
User credentials
...
? What do you want to do? Add new Distribution Certificate
? Will you provide your own Apple Distribution Certificate? Let Expo handle the process
Error: In order to provide your Apple ID credentials, you must set the --apple-id flag and set the environment variable.
at _getAppleIdFromParams (/Users/cj/.config/yarn/global/node_modules/expo-cli/src/appleApi/autenticate.ts:80:11)
at _requestAppleIdCreds (/Users/cj/.config/yarn/global/node_modules/expo-cli/src/appleApi/authenticate.ts:67:10)
at authenticate (/Users/cj/.config/yarn/global/node_modules/expo-cli/src/appleApi/authenticate.ts:47:46)
at Context.ensureAppleCtx (/Users/cj/.config/yarn/global/node_modules/expo-cli/src/credentials/context.ts:63:30)
at generateDistCert (/Users/cj/.config/yarn/global/node_modules/expo-cli/src/credentials/views/IosDistCert.ts:492:13)
at CreateIosDist.provideOrGenerate (/Users/cj/.config/yarn/global/node_modules/expo-cli/src/credentials/views/IosDistCert.ts:71:18)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at CreateIosDist.create (/Users/cj/.config/yarn/global/node_modules/expo-cli/src/credentials/views/IosDistCert.ts:50:25)
at CreateIosDist.open (/Users/cj/.config/yarn/global/node_modules/expo-cli/src/credentials/views/IosDistCert.ts:55:22)
at CredentialsManager.run (/Users/cj/.config/yarn/global/node_modules/expo-cli/src/credentials/route.ts:42:12)
? Do you want to quit Credential Manager (Use arrow keys)
❯ Quit Credential Manager
Go back to experience overview.
Here is my info:
Expo CLI 3.20.9 environment info:
System:
OS: macOS Mojave 10.14.6
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 14.2.0 - /usr/local/bin/node
Yarn: 1.22.4 - /usr/local/bin/yarn
npm: 6.14.5 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
IDEs:
Android Studio: 3.6 AI-192.7142.36.36.6392135
Xcode: 11.3.1/11C504 - /usr/bin/xcodebuild
npmPackages:
expo: ^37.0.0 => 37.0.8
react: 16.9.0 => 16.9.0
react-native: https://github.com/expo/react-native/archive/sdk-37.0.1.tar.gz => 0.61.4