eas-cli icon indicating copy to clipboard operation
eas-cli copied to clipboard

`Authentication with Apple Developer Portal failed!`

Open ekorman opened this issue 2 years ago • 101 comments

Build/Submit details page URL

No response

Summary

I get the error

Authentication with Apple Developer Portal failed!
Cookie not in this host's domain. Cookie:developer-mdn.apple.com Request:developer.apple.com
    Error: build command failed.

when running eas build --profile preview --platform ios. this command worked successfully a few days ago

Managed or bare?

managed

Environment

  expo-env-info 1.2.0 environment info:
    System:
      OS: macOS 14.2.1
      Shell: 5.9 - /bin/zsh
    Binaries:
      Node: 16.20.0 - ~/.nvm/versions/node/v16.20.0/bin/node
      Yarn: 1.22.19 - ~/.nvm/versions/node/v16.20.0/bin/yarn
      npm: 8.19.4 - ~/.nvm/versions/node/v16.20.0/bin/npm
      Watchman: 2023.10.30.00 - /opt/homebrew/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: DriverKit 23.2, iOS 17.2, macOS 14.2, tvOS 17.2, visionOS 1.0, watchOS 10.2
    IDEs:
      Xcode: 15.2/15C500b - /usr/bin/xcodebuild
    npmPackages:
      @expo/webpack-config: ^19.0.0 => 19.0.0 
      expo: ~49.0.15 => 49.0.18 
      react: 18.2.0 => 18.2.0 
      react-dom: 18.2.0 => 18.2.0 
      react-native: 0.72.6 => 0.72.6 
      react-native-web: ~0.19.6 => 0.19.9 
    npmGlobalPackages:
      eas-cli: 7.1.3
    Expo Workflow: managed
✔ Check Expo config for common issues
✔ Check package.json for common issues
✔ Check dependencies for packages that should not be installed directly
✔ Check for common project setup issues
✔ Check for issues with metro config
✔ Check npm/ yarn versions
✔ Check Expo config (app.json/ app.config.js) schema
✔ Check that packages match versions required by installed Expo SDK
✔ Check for legacy global CLI installed locally
✔ Check that native modules do not use incompatible support packages
✔ Check that native modules use compatible support package versions for installed Expo SDK

Didn't find any issues with the project!

Error output

Authentication with Apple Developer Portal failed!
Cookie not in this host's domain. Cookie:developer-mdn.apple.com Request:developer.apple.com
Error: Cookie not in this host's domain. Cookie:developer-mdn.apple.com Request:developer.apple.com
    at M.setCookie (/Users/eric/.nvm/versions/node/v16.20.0/lib/node_modules/eas-cli/node_modules/@expo/apple-utils/build/index.js:1:927590)
    at M.setCookie (/Users/eric/.nvm/versions/node/v16.20.0/lib/node_modules/eas-cli/node_modules/@expo/apple-utils/build/index.js:1:697286)
    at /Users/eric/.nvm/versions/node/v16.20.0/lib/node_modules/eas-cli/node_modules/@expo/apple-utils/build/index.js:1:894766
    at new Promise (<anonymous>)
    at /Users/eric/.nvm/versions/node/v16.20.0/lib/node_modules/eas-cli/node_modules/@expo/apple-utils/build/index.js:1:894571
    at Object.apply (/Users/eric/.nvm/versions/node/v16.20.0/lib/node_modules/eas-cli/node_modules/@expo/apple-utils/build/index.js:1:895502)
    at /Users/eric/.nvm/versions/node/v16.20.0/lib/node_modules/eas-cli/node_modules/@expo/apple-utils/build/index.js:1:868909
    at Array.forEach (<anonymous>)
    at c (/Users/eric/.nvm/versions/node/v16.20.0/lib/node_modules/eas-cli/node_modules/@expo/apple-utils/build/index.js:1:868881)
    at /Users/eric/.nvm/versions/node/v16.20.0/lib/node_modules/eas-cli/node_modules/@expo/apple-utils/build/index.js:1:867223
    Error: build command failed.

Reproducible demo or steps to reproduce from a blank project

Run

eas build --profile preview --platform ios

ekorman avatar Feb 10 '24 18:02 ekorman

+1 having this issue too

Niravpatel129 avatar Feb 10 '24 19:02 Niravpatel129

also having this issue

alantvu avatar Feb 10 '24 19:02 alantvu

I'm facing the same issue stated here, builds for ios platform were working fine a few days ago but are breaking today all of sudden...

baristikir avatar Feb 10 '24 19:02 baristikir

Suddenly having this issue too when running eas build --profile development --platform ios

mthomas100 avatar Feb 10 '24 19:02 mthomas100

+1

vbpns avatar Feb 10 '24 19:02 vbpns

++1

afsadilson avatar Feb 10 '24 19:02 afsadilson

+1, Building with no issues yesterday.

frechg avatar Feb 10 '24 20:02 frechg

+1

odiegorsilva avatar Feb 10 '24 20:02 odiegorsilva

+1

EAS CLI 7.1.3 environment info:
    System:
      OS: macOS 14.3.1
      Shell: 5.9 - /bin/zsh
    Binaries:
      Node: 20.11.0 - ~/.nvm/versions/node/v20.11.0/bin/node
      npm: 10.4.0 - ~/.nvm/versions/node/v20.11.0/bin/npm
    Utilities:
      Git: 2.39.3 - /usr/bin/git
    npmPackages:
      expo: ~50.0.5 => 50.0.6 
      expo-dev-client: ~3.3.8 => 3.3.8 
      react: 18.2.0 => 18.2.0 
      react-native: 0.73.4 => 0.73.4 
    npmGlobalPackages:
      eas-cli: 7.1.3
    Project workflow: managed

timohaver avatar Feb 10 '24 20:02 timohaver

Same here with latest eas-cli

Jonatthu avatar Feb 10 '24 20:02 Jonatthu

Same

AmitayCohen1 avatar Feb 10 '24 20:02 AmitayCohen1

+1

strbavaclav avatar Feb 10 '24 20:02 strbavaclav

Same

hassanzeaiter avatar Feb 10 '24 21:02 hassanzeaiter

Same

awwbaw3 avatar Feb 10 '24 21:02 awwbaw3

+1

mikeRChambers610 avatar Feb 10 '24 21:02 mikeRChambers610

+1

lukas-sitkauskas avatar Feb 10 '24 21:02 lukas-sitkauskas

Same here

vitor-rmcosta avatar Feb 10 '24 22:02 vitor-rmcosta

I am facing same issue too all of the sudden!

MaheshtheDev avatar Feb 10 '24 22:02 MaheshtheDev

+1

danielgolan avatar Feb 10 '24 22:02 danielgolan

Having the same issue, There was no issue yesterday, it appeared today only!!

meerbex avatar Feb 10 '24 23:02 meerbex