Comments (85)
fixed in [email protected] - please update to this version. there was a change on the apple api server side, and this new eas-cli version accounts for this change.
from eas-cli.
thanks, we will investigate this.
you can use eas build --non-interactive
to skip the apple auth prompt and used stored app signing credentials to work around this issue for now.
i'll lock the issue for now so that this comment is easily discoverable, and we'll follow up shortly.
from eas-cli.
I had the same issue. Reinstalling eas-cli worked for me:
npm install -g eas-cli
from eas-cli.
what work for me and it's so strange is
- reinstall eas yarn global add eas-cli
- remove it npm uninstall -g eas-cli
- reinstall again yarn global add eas-cli
Might help someone
This didn't work for me, however, I reinstalled npm global eas-cli:
npm uninstall -g eas-cli
npm install -g eas-cli
after that I just reinstalled node_modules and it worked for me
from eas-cli.
+1 having this issue too
from eas-cli.
I was getting the same error. I ran npm install -g eas-cli
and that fixed the issue
from eas-cli.
npm uninstall -g eas-cli
npm install -g eas-cli
from eas-cli.
fixed in [email protected] - please update to this version. there was a change on the apple api server side, and this new eas-cli version accounts for this change.
I uninstalled eas-cli and reinstalled [email protected] . Unfortunately I'm still getting the same error upon running eas build --profile staging --platform ios . Tried adding
--clear-cache
but it doesn't help.can you try
eas --version
what version it shows? alsowhere eas
also try in
eas
file adding"cli": { "version": ">= 7.2.0", },
npm install -g eas-cli
(to update eas-cli) in combination with this eas.json change resolved the issue for me
from eas-cli.
This is why I love expo, thank you for the fast work
from eas-cli.
npm uninstall -g eas-cli
npm install -g eas-cli
this is work for me .
from eas-cli.
fixed in [email protected] - please update to this version. there was a change on the apple api server side, and this new eas-cli version accounts for this change.
I uninstalled eas-cli and reinstalled [email protected] . Unfortunately I'm still getting the same error upon running eas build --profile staging --platform ios . Tried adding
--clear-cache
but it doesn't help.
can you try eas --version
what version it shows?
also where eas
also try in eas
file adding
"cli": {
"version": ">= 7.2.0",
},
from eas-cli.
what work for me and it's so strange is
- reinstall eas yarn global add eas-cli
- remove it npm uninstall -g eas-cli
- reinstall again yarn global add eas-cli
Might help someone
from eas-cli.
Still not working after updating [email protected] and specifying the version in eas.json file
from eas-cli.
Reinstall eas-cli worked for me
npm uninstall -g eas-cli npm install -g eas-cli
This solved it for me.
from eas-cli.
npm install -g eas-cli
helped!
from eas-cli.
i fixed by updating eas.json
nvm use 18.17.1
npm install -g eas-cli
{
"cli": {
"version": "7.3.0"
},
from eas-cli.
Same
I updated eas-cli again and it's working now.
from eas-cli.
My version of eas-cli
wasn't updating due to using nvm
to manage multiple Node versions:
% which eas
/Users/current/.nvm/versions/node/v16.17.0/bin/eas
% node -v
v20.10.0
% nvm use v20.10.0
Now using node v20.10.0 (npm v10.2.3)
% which eas
/Users/current/.nvm/versions/node/v20.10.0/bin/eas
% npm install -g eas-cli
changed 408 packages in 5s
38 packages are looking for funding
run `npm fund` for details
% eas -v
eas-cli/7.2.0 darwin-arm64 node-v20.10.0
Make sure you are installing eas-cli
while using the correct Node version.
from eas-cli.
eas 7.2.0 is working for me!
from eas-cli.
fixed in [email protected] - please update to this version. there was a change on the apple api server side, and this new eas-cli version accounts for this change.
I uninstalled eas-cli and reinstalled [email protected] . Unfortunately I'm still getting the same error upon running eas build --profile staging --platform ios . Tried adding
--clear-cache
but it doesn't help.can you try
eas --version
what version it shows? alsowhere eas
also try ineas
file adding"cli": { "version": ">= 7.2.0", },
npm install -g eas-cli
(to update eas-cli) in combination with this eas.json change resolved the issue for me
I can confirm this worked for me.
from eas-cli.
I just upgraded to the latest version of the CLI and the problem seems to be solved. Thanks!!!!
from eas-cli.
Reinstall eas-cli worked for me
npm uninstall -g eas-cli
npm install -g eas-cli
from eas-cli.
npm install -g eas-cli
Run this and the cli will be upgraded to 7.3 and that will fix the issue.
from eas-cli.
Uninstalling & re installing eas-cli (thus installing version 7.3) worked for me too.
from eas-cli.
Updating the cli is confirmed working on my end.
from eas-cli.
I am still getting this error on version eas cli 7.3.0,
Authentication with Apple Developer Portal failed!
Apple provided the following error info:
Service not available because of maintenance activities, please try again after some time.
Error: build command failed.
I am still facing the same issue on eas-cli/7.3.0
PS D:\Projects\React Native> eas --version
eas-cli/7.3.0 win32-x64 node-v18.15.0
PS D:\Projects\React Native> eas build --profile production --platform ios
Loaded "env" configuration for the "production" profile: no environment variables specified. Learn more: https://docs.expo.dev/build-reference/variables/
√ Using remote iOS credentials (Expo server)
If you provide your Apple account credentials we will be able to generate all necessary build credentials and fully validate them.
This is optional, but without Apple account access you will need to provide all the missing values manually and we can only run minimal validation on them.
√ Do you want to log in to your Apple account? ... yes
› Log in to your Apple Developer account to continue
√ Apple ID: ... *************
› Restoring session C:\Users*.app-store\auth*******\cookie
› Session expired Local session
› The password is only used to authenticate with Apple and never stored on EAS servers
Learn more: https://bit.ly/2VtGWhU
√ Password (for ************): ... ***************
› Saving Apple ID password to the local Keychain
Learn more: https://docs.expo.dev/distribution/security#keychain
√ Logged in New session
Authentication with Apple Developer Portal failed!
Apple provided the following error info:
Service not available because of maintenance activities, please try again after some time.
Error: build command failed.
from eas-cli.
also having this issue
from eas-cli.
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...
from eas-cli.
Suddenly having this issue too when running eas build --profile development --platform ios
from eas-cli.
+1
from eas-cli.
++1
from eas-cli.
+1, Building with no issues yesterday.
from eas-cli.
+1
from eas-cli.
+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
from eas-cli.
Same here with latest eas-cli
from eas-cli.
Same
from eas-cli.
+1
from eas-cli.
Same
from eas-cli.
Same
from eas-cli.
+1
from eas-cli.
+1
from eas-cli.
Same here
from eas-cli.
I am facing same issue too all of the sudden!
from eas-cli.
+1
from eas-cli.
Having the same issue,
There was no issue yesterday, it appeared today only!!
from eas-cli.
Having the same issue
from eas-cli.
same here +1
from eas-cli.
Same, was working fine 2 days ago
eas-cli/7.1.3 darwin-arm64 node-v20.11.0
So looks like nothing works when you need to build either in preview or production, once it needs that communication with apple error comes up. Feels like Apple changed something because older versions of eas
is same issue.
from eas-cli.
Thank you for filing this issue!
This comment acknowledges we believe this may be a bug and there’s enough information to investigate it.
However, we can’t promise any sort of timeline for resolution. We prioritize issues based on severity, breadth of impact, and alignment with our roadmap. If you’d like to help move it more quickly, you can continue to investigate it more deeply and/or you can open a pull request that fixes the cause.
from eas-cli.
Thank you, worked great for old and new projects
from eas-cli.
Awesome works !!!
from eas-cli.
[email protected] で修正されました - このバージョンに更新してください。Apple API サーバー側に変更があり、この新しい eas-cli バージョンはこの変更を反映しています。
This works for me! Thank you!
from eas-cli.
fixed in [email protected] - please update to this version. there was a change on the apple api server side, and this new eas-cli version accounts for this change.
I uninstalled eas-cli and reinstalled [email protected] . Unfortunately I'm still getting the same error upon running eas build --profile staging --platform ios .
Tried adding --clear-cache
but it doesn't help.
from eas-cli.
fixed in [email protected] - please update to this version. there was a change on the apple api server side, and this new eas-cli version accounts for this change.
I uninstalled eas-cli and reinstalled [email protected] . Unfortunately I'm still getting the same error upon running eas build --profile staging --platform ios . Tried adding
--clear-cache
but it doesn't help.can you try
eas --version
what version it shows? alsowhere eas
also try in
eas
file adding"cli": { "version": ">= 7.2.0", },
eas --version returns: eas-cli/7.2.0 darwin-arm64 node-v18.18.0
I added "cli": { "version": ">= 7.2.0" } and it works!
Thank you.
from eas-cli.
Not sure if this is helpful but the same issue happened last year in feb too
from eas-cli.
Not sure if anyone else is having this issue, but whenever I grab the latest version it constantly reverts back to the previous version. I see someone had a similar issue, but forcing it in eas.json did not work for me as the global dependency doesn't appear to be updating past the previous version. I've tried to upgrade it globally through yarn and npm using sudo and no luck. Curious if anyone else is having trouble grabbing version 7.2.0 from 7.1.2
UPDATE:
I was able to solve this from the help of this thread: https://forums.expo.dev/t/impossible-to-upgrade-eas-cli-version/73019
Hopefully if someone hits this problem this will help!
from eas-cli.
Thanks @brentvatne!
from eas-cli.
works with 7.2.0 thanks @brentvatne
from eas-cli.
7.2.0 works perfectly
from eas-cli.
yarn global add eas-cli
from eas-cli.
In my specific case, the authentication flow with Apple works, but if I'm trying to create a build for an identifier which has an expired or missing Distribution Certificate/Provisioning Profile, it gives me an error. The request to Apple Developer seems to fail because the files aren't created on the Apple Developer section.
I even tried deleting the Apple authentication cookie saved locally and logging in again; the authentication flow and team selection works fine.
Meanwhile, I solved the issue by uploading directly on the Expo Dashboard the Distribution Certificate (or selecting another one) and Provisioning Profile. If someone has encountered the same error and knows how to solve it, it would be appreciated.
from eas-cli.
I have eas-cli/7.2.0,
but it still giving
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.
from eas-cli.
+1
from eas-cli.
7.2.0 works fine.
from eas-cli.
I'm not sure if it's relevant here, but since I moved to 7.2.0 I'm having this issue on build:
/Users/expo/workingdir/build/node_modules/cliui/build/index.cjs:291
const stringWidth = require('string-width');
^
Error [ERR_REQUIRE_ESM]: require() of ES Module /Users/expo/workingdir/build/node_modules/string-width/index.js from /Users/expo/workingdir/build/node_modules/cliui/build/index.cjs not supported.
Instead change the require of index.js in /Users/expo/workingdir/build/node_modules/cliui/build/index.cjs to a dynamic import() which is available in all CommonJS modules.
at Object.<anonymous> (/Users/expo/workingdir/build/node_modules/cliui/build/index.cjs:291:21)
at Object.<anonymous> (/Users/expo/workingdir/build/node_modules/yargs/build/index.cjs:1:60678)
at Object.<anonymous> (/Users/expo/workingdir/build/node_modules/yargs/index.cjs:5:30)
at Object.<anonymous> (/Users/expo/workingdir/build/node_modules/react-native/scripts/generate-specs-cli.js:12:15) {
code: 'ERR_REQUIRE_ESM'
}
Node.js v18.18.0
Command PhaseScriptExecution failed with a nonzero exit code
from eas-cli.
Still having the issue that i can't update the eas-cli. "eas -v" returns:
★ [email protected] is now available.
To upgrade, run npm install -g eas-cli.
Proceeding with outdated version.
eas-cli/5.9.3 darwin-arm64 node-v21.6.1
I tried all of the above solutions but nothing seems to help.
from eas-cli.
npx eas -v rerturns the correct version. Also when using npx eas everything works as expectet. Does anyone know what's wrong. Do I have two versions of eas-cli installed?
from eas-cli.
still getting this with npx setup-safari
on eas 7.2.0
eas -v: eas-cli/7.2.0 darwin-arm64 node-v19.9.0
npx setup-safari
:
Cookie not in this host's domain. Cookie:developer-mdn.apple.com Request:developer.apple.com
from eas-cli.
FYI my case: if you install expo-cli in package.json dependencies (like dev deps), and upgrade it to 7.2 with expo 49 may trigger an config_plugins_1.Updates.getRuntimeVersionNullableAsync is not a function
error.
Just use npm / yarn to uninstall / remove it from deps, and force run cli from global can fix this issue.
from eas-cli.
+1 also having this issue
from eas-cli.
this command worked for me: eas build -p ios --non-interactive --skip-credentials-check
from eas-cli.
I was getting the same error. I ran
npm install -g eas-cli
and that fixed the issue
Mine too.
from eas-cli.
+1
from eas-cli.
Upgrading to the latest version of the CLI also fixed this for me.
from eas-cli.
what work for me and it's so strange is
- reinstall eas yarn global add eas-cli
- remove it npm uninstall -g eas-cli
- reinstall again yarn global add eas-cli
Might help someone
This didn't work for me, however, I reinstalled npm global eas-cli:
npm uninstall -g eas-cli npm install -g eas-cli
after that I just reinstalled node_modules and it worked for me
this worked for me
from eas-cli.
thanks, we will investigate this.
you can use
eas build --non-interactive
to skip the apple auth prompt and used stored app signing credentials to work around this issue for now.i'll lock the issue for now so that this comment is easily discoverable, and we'll follow up shortly.
THANK YOU!
from eas-cli.
worked again with eas-cli 7.2.0
from eas-cli.
Absolute legends (npm uninstall
, npm install
; however this did cost me 3 identical Android builds 😂)
from eas-cli.
npx setup-safari
still not working on my end. Can anyone check for me?
from eas-cli.
I was getting the same error. I ran
npm install -g eas-cli
and that fixed the issue
Thanks!
from eas-cli.
thanks, we will investigate this.
you can use
eas build --non-interactive
to skip the apple auth prompt and used stored app signing credentials to work around this issue for now.i'll lock the issue for now so that this comment is easily discoverable, and we'll follow up shortly.
Thanks! @brentvatne @maufernandezdev
from eas-cli.
thanks, we will investigate this.
you can useeas build --non-interactive
to skip the apple auth prompt and used stored app signing credentials to work around this issue for now.
i'll lock the issue for now so that this comment is easily discoverable, and we'll follow up shortly.Thanks! @brentvatne @maufernandezdev
This worked for me! thanks! plz fix this bug ASAP : )
from eas-cli.
Running npm install -g eas-cli
worked for me, does anyone know why this occurs?
from eas-cli.
I am still getting this error on version eas cli 7.3.0, Authentication with Apple Developer Portal failed! Apple provided the following error info: Service not available because of maintenance activities, please try again after some time. Error: build command failed.
I am still facing the same issue on eas-cli/7.3.0
PS D:\Projects\React Native> eas --version eas-cli/7.3.0 win32-x64 node-v18.15.0 PS D:\Projects\React Native> eas build --profile production --platform ios Loaded "env" configuration for the "production" profile: no environment variables specified. Learn more: https://docs.expo.dev/build-reference/variables/ √ Using remote iOS credentials (Expo server)
If you provide your Apple account credentials we will be able to generate all necessary build credentials and fully validate them. This is optional, but without Apple account access you will need to provide all the missing values manually and we can only run minimal validation on them. √ Do you want to log in to your Apple account? ... yes
› Log in to your Apple Developer account to continue √ Apple ID: ... ************* › Restoring session C:\Users***.app-store\auth*********\cookie › Session expired Local session › The password is only used to authenticate with Apple and never stored on EAS servers Learn more: https://bit.ly/2VtGWhU √ Password (for ************): ... *************** › Saving Apple ID password to the local Keychain Learn more: https://docs.expo.dev/distribution/security#keychain √ Logged in New session Authentication with Apple Developer Portal failed! Apple provided the following error info: Service not available because of maintenance activities, please try again after some time. Error: build command failed.
upgrade to 7.5.0
from eas-cli.
Hello
I got exactly same problem and I can't upgrade to eas 7.6.2, even after uninstall it, I did these
npm uninstall -g eas-cli
npm cache clean --force
npm install -g eas-cli
But I always got these:
$ eas --version
★ [email protected] is now available.
To upgrade, run npm install -g eas-cli.
Proceeding with outdated version.
eas-cli/7.3.0 win32-x64 node-v18.17.1
I am stucked with 7.3.0 why ?
I can't build ios "Authentication with Apple Developer Portal failed! Apple provided the following error info: Service not available because of maintenance activities, please try again after some time. Error: build command failed."
from eas-cli.
Related Issues (20)
- eas submit not using the updated CFBundleShortVersionString from app.json HOT 1
- EAS build fails from nx-monorepo due to missing dependencies, yet hook that should fix package.json runs without issues HOT 5
- After Apple app account holder transfer, app is unbuildable with eas. HOT 1
- EAS Build iOS - Incorrect Version Number HOT 7
- EAS build fails at apple authentication HOT 16
- EAS Build: Can't use dynamic app name HOT 2
- [EAS] ** ARCHIVE FAILED ** Exit status: 65 HOT 1
- autoIncrement option is not supported when using app.config.js HOT 2
- iOS App Store build fails with monorepo; not finding expo-router/entry.js HOT 5
- EAS overwriting `ENVIRONMENT` env var HOT 2
- eas metadata:pull not working: Store configuration download encountered 6 errors HOT 2
- white screen on Expo Updates HOT 3
- EAS build no longer sees "android_app_id" for "react-native-google-mobile-ads" in "app.json".
- EAS build swapping image files/no API requests being made (android) HOT 4
- Internal Server Error: 'd', 'Received an internal server error from Apple's App Store Connect / Developer Portal servers, HOT 7
- Authentication with Apple Developer Portal failed! HOT 1
- I am trying to build the iOS version of an application locally whose Expo. I have no issues building the Android version but run into issues when building the iOS. I can build the iOS version when I generate the Xcode project myself but cannot via eas. HOT 3
- iOS internal distribution build is failing during Pods Install step HOT 1
- During `Run fastlane`, `eas build` fails for IOS because of global.css - Cannot read properties of undefined (reading 'raw') HOT 3
- Unexpected server error on Android buils HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eas-cli.