maxim-lobanov / setup-xcode

Set up your GitHub Actions workflow with a specific version of Xcode
MIT License
280 stars 28 forks source link

handle TwoFactor auth #43

Closed MoatazAbdAlmageed closed 2 years ago

MoatazAbdAlmageed commented 2 years ago

I got handle TwoFactor auth error


Run expo build:ios  > build-ios.log
[21:06:43] EXPO_APPLE_ID_PASSWORD is deprecated, please use EXPO_APPLE_PASSWORD instead!
- Logging in...
✔ Logged in, verify your Apple account to continue
✖ Logging in...
[21:06:43] Failed to set up Distribution Certificate
[21:06:43] Input is required, but Expo CLI is in non-interactive mode.
code must be input but the environment is not interactive.
[21:06:43] Error: Input is required, but Expo CLI is in non-interactive mode.
code must be input but the environment is not interactive.
    at Object.prompt [as default] (/Users/runner/hostedtoolcache/expo-cli/5.3.0/x64/node_modules/@expo/apple-utils/build/index.js:1:1040596)
    at Object.promptForCode (/Users/runner/hostedtoolcache/expo-cli/5.3.0/x64/node_modules/@expo/apple-utils/build/index.js:1:893490)
    at parseAndPromptTFAAsync (/Users/runner/hostedtoolcache/expo-cli/5.3.0/x64/node_modules/@expo/apple-utils/build/index.js:1:890381)
    at handleTwoFactorAsync (/Users/runner/hostedtoolcache/expo-cli/5.3.0/x64/node_modules/@expo/apple-utils/build/index.js:1:889537)
    at Object.handleTwoFactorAuthentication (/Users/runner/hostedtoolcache/expo-cli/5.3.0/x64/node_modules/@expo/apple-utils/build/index.js:1:888716)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at Object.loginWithUserCredentialsAsync (/Users/runner/hostedtoolcache/expo-cli/5.3.0/x64/node_modules/@expo/apple-utils/build/index.js:1:871826)
    at loginWithUserCredentialsAsync (/Users/runner/hostedtoolcache/expo-cli/5.3.0/x64/node_modules/expo-cli/src/appleApi/authenticate.ts:133:22)
    at loginAsync (/Users/runner/hostedtoolcache/expo-cli/5.3.0/x64/node_modules/expo-cli/src/appleApi/authenticate.ts:92:[12](https://github.com/MoatazAbdAlmageed/First-Mobile-App/runs/5858479634?check_suite_focus=true#step:9:12))
    at authenticateAsync (/Users/runner/hostedtoolcache/expo-cli/5.3.0/x64/node_modules/expo-cli/src/appleApi/authenticate.ts:[15](https://github.com/MoatazAbdAlmageed/First-Mobile-App/runs/5858479634?check_suite_focus=true#step:9:15)2:[23](https://github.com/MoatazAbdAlmageed/First-Mobile-App/runs/5858479634?check_suite_focus=true#step:9:23))

I cannot disable tow factor auth because I don't have any apple devices also please help how can I use App-Specific Passwords with your plugin ?

MoatazAbdAlmageed commented 2 years ago

opened here https://github.com/expo/expo-github-action/issues/178