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

Error: Cookie not in this host's domain. Cookie:developer-mdn.apple.com Request:developer.apple.com

Open izakfilmalter opened this issue 3 years ago • 142 comments

Build/Submit details page URL

No response

Summary

Building locally / trying to push a build to the cloud is throw the following auth error:

✔ Apple ID: … **********
› Restoring session /Users/izakfilmalter/.app-store/auth/[email protected]/cookie
› Session expired Local session
› Using password for ********** from your local Keychain
  Learn more: https://docs.expo.dev/distribution/security#keychain
✔ Logged in New session
Authentication with Apple Developer Portal failed!
    Error: Cookie not in this host's domain. Cookie:developer-mdn.apple.com Request:developer.apple.com

Managed or bare?

Bare

Environment

  expo-env-info 1.0.5 environment info:
    System:
      OS: macOS 13.1
      Shell: 5.8.1 - /bin/zsh
    Binaries:
      Node: 16.19.0 - ~/.nvm/versions/node/v16.19.0/bin/node
      Yarn: 3.4.1 - ~/.nvm/versions/node/v16.19.0/bin/yarn
      npm: 8.19.3 - ~/.nvm/versions/node/v16.19.0/bin/npm
    Managers:
      CocoaPods: 1.11.3 - /opt/homebrew/bin/pod
    SDKs:
      iOS SDK:
        Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1
    IDEs:
      Android Studio: Electric Eel 2022.1.1 Patch 1 Electric Eel 2022.1.1 Patch 1
      Xcode: 14.2/14C18 - /usr/bin/xcodebuild
    npmGlobalPackages:
      eas-cli: 3.3.2
      expo-cli: 6.1.0
    Expo Workflow: bare
Some dependencies are incompatible with the installed expo package version:
 - @react-native-community/netinfo - expected version: 9.3.5 - actual version installed: 9.3.6
 - expo-image-picker - expected version: ~14.0.2 - actual version installed: 14.1.0
 - react - expected version: 18.1.0 - actual version installed: 18.2.0
 - react-dom - expected version: 18.1.0 - actual version installed: 18.2.0
 - react-native - expected version: 0.70.5 - actual version installed: 0.70.6
 - react-native-gesture-handler - expected version: ~2.8.0 - actual version installed: 2.9.0
 - react-native-pager-view - expected version: 6.0.1 - actual version installed: 6.1.1
 - react-native-reanimated - expected version: ~2.12.0 - actual version installed: 2.14.4
 - react-native-svg - expected version: 13.4.0 - actual version installed: 13.6.0
 - react-native-webview - expected version: 11.23.1 - actual version installed: 11.24.0
Your project may not work correctly until you install the correct versions of the packages.
To install the correct versions of these packages, please run: expo doctor --fix-dependencies,
or install individual packages by running expo install [package-name ...]

Error output

✔ Apple ID: … **********
› Restoring session /Users/izakfilmalter/.app-store/auth/[email protected]/cookie
› Session expired Local session
› Using password for ********** from your local Keychain
  Learn more: https://docs.expo.dev/distribution/security#keychain
✔ Logged in New session
Authentication with Apple Developer Portal failed!
    Error: Cookie not in this host's domain. Cookie:developer-mdn.apple.com Request:developer.apple.com

Reproducible demo or steps to reproduce from a blank project

Try and build a local iOS build.

izakfilmalter avatar Feb 04 '23 19:02 izakfilmalter

I was about to file the same thing.

tomasikp avatar Feb 04 '23 19:02 tomasikp

+1

same issue for cloud builds, no solution at the moment even if building without apple auth with expo stored data.

Lamonarch87 avatar Feb 04 '23 20:02 Lamonarch87

Hi, there´s any solution to this error? Greetings

neypalma79 avatar Feb 04 '23 20:02 neypalma79

Same error, also a stackoverflow question here

hasanfd avatar Feb 04 '23 21:02 hasanfd

@Oskya from the discord channel gave me a hint that builds without login works, I tried and it is building now

Just try selecting no for the Do you want to login question

Update: run npm install -g eas-cli for the definitive solution.

hasanfd avatar Feb 04 '23 21:02 hasanfd

+1

nickreese avatar Feb 04 '23 21:02 nickreese

Im getting the same issue too. You can start build without the login option, but it continues if you try uploading your build to store.

atakansavas avatar Feb 04 '23 22:02 atakansavas

+1

davram88 avatar Feb 04 '23 22:02 davram88

image

assada avatar Feb 04 '23 22:02 assada

I'm having the same issue

feRpicoral avatar Feb 04 '23 22:02 feRpicoral

happening to me too

kollinmurphy avatar Feb 04 '23 22:02 kollinmurphy

I am also having the same issue.

levimann24 avatar Feb 04 '23 22:02 levimann24

I'm having the same issue

vitor-js avatar Feb 04 '23 22:02 vitor-js

The solution I'm using is selecting 'no' when prompted to login to the Apple account, and then uploading the build manually with xcrun altool --upload-app -f <PathToFile>.ipa -u <Username> -p <Password>.

feRpicoral avatar Feb 04 '23 22:02 feRpicoral

i'm having the same issue when running eas device:create and eas build --profile development --platform ios

guillaumegaluz avatar Feb 04 '23 23:02 guillaumegaluz

+1

RyoIto avatar Feb 04 '23 23:02 RyoIto

Hi, I'm having the same problem a few hours ago it was working fine and now I get an error Error: Cookie not in this host's domain. Cookie:developer-mdn.apple.com Request:developer.apple.com

omaribanez10 avatar Feb 04 '23 23:02 omaribanez10

+1

RationalChestnut avatar Feb 04 '23 23:02 RationalChestnut

+1

mehmet-boz avatar Feb 04 '23 23:02 mehmet-boz

same issue image

sidsarasvati avatar Feb 05 '23 00:02 sidsarasvati