expo build:ios fails on 2FA

Little similar to karimsaleh, but after entering user/pass to connect to Apple Store when running expo build:ios, I’m asked for 2FA, and after correctly entering it, it errors out with:

Authentication with Apple Developer Portal failed!
Reason: Unknown reason, raw: "Unauthorized Access"
Error: Reason: Unknown reason, raw: "Unauthorized Access"
    at runAction (/Users/kandarp/.nvm/versions/node/v13.9.0/lib/node_modules/expo-cli/src/appleApi/fastlane.ts:28:17)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at authenticate (/Users/kandarp/.nvm/versions/node/v13.9.0/lib/node_modules/expo-cli/src/appleApi/authenticate.ts:50:40)
  Expo CLI 3.20.9 environment info:
      OS: macOS 10.15.4
      Shell: 3.2.57 - /bin/bash
      Node: 13.9.0 - ~/.nvm/versions/node/v13.9.0/bin/node
      Yarn: 1.21.1 - /usr/local/bin/yarn
      npm: 6.13.7 - ~/.nvm/versions/node/v13.9.0/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
      Android Studio: 3.6 AI-192.7142.36.36.6392135
      Xcode: 10.1/10B61 - /usr/bin/xcodebuild
      expo: ^36.0.0 => 36.0.2 
      react: 16.9.0 => 16.9.0 
      react-native: https://github.com/expo/react-native/archive/sdk-36.0.1.tar.gz => 0.61.4 
      expo-cli: 3.20.9

this is a workaround for now: https://github.com/expo/expo-cli/issues/1631#issuecomment-625918591

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.