Login trouble with two factor auth (Apple Enterprise Account) in expo-cli

I tied to build App for Apple Enterprise using the following command:

expo build:ios -c

When I enter received a 6 digit code, I see next error:

Authentication with Apple Developer Portal failed!
Reason: Unknown reason, raw: “Unauthorized Access”

Then I have second SMS, but I can not enter a second code because the script already finished.

I tied to use different phone numbers, SMS and phone call methods, different OSs (Mac, Linux), different expo accounts, but have the same result…
I use expo 2.20.0

If I set EXPO_DEBUG=true I see next:

Error: Reason: Unknown reason, raw: “Unauthorized Access”
at _callee$ (/expo-cli@2.20.0/src/commands/build/ios/appleApi/fastlane.js:24:17)
at tryCatch (/usr/local/lib/node_modules/expo-cli/node_modules/babel-runtime/node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (/usr/local/lib/node_modules/expo-cli/node_modules/babel-runtime/node_modules/regenerator-runtime/runtime.js:296:22)
at Generator.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/expo-cli/node_modules/babel-runtime/node_modules/regenerator-runtime/runtime.js:114:21)
at step (/usr/local/lib/node_modules/expo-cli/node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30)
at /usr/local/lib/node_modules/expo-cli/node_modules/babel-runtime/helpers/asyncToGenerator.js:28:13
at process._tickCallback (internal/process/next_tick.js:68:7)

Can someone help me please! :slight_smile:

1 Like

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