-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[12.6.0] Authentication with Apple Developer Portal failed - "The first argument must be..." #2651
Comments
Well, I think I found the reason confirmed after delving through the docs for a while: https://docs.expo.dev/app-signing/apple-developer-program-roles-and-permissions/#eas-build
I would close the issue myself, but I'll let you do it since I want to suggest that if it's possible to recognize that federtation is the cause of the login not working, a link to those docs rather than the generic:
would probably save many developers hours of debugging. |
Took some time to look into to the supposed solution: https://docs.expo.dev/build/building-on-ci/#optional-provide-an-asc-api-token-for-your-apple-team As far as I can tell, setting up the requested environment variables ( |
I saw the same error but I fixed it this time this way |
@jgarplind i had the same issue, i used these infront of ie
|
Build/Submit details page URL
No response
Summary
Running any
eas
command requiring Apple login, e.g.eas credentials
lets me go as far as entering my password, then it fails.Managed or bare?
Both
Environment
expo-env-info 1.2.0 environment info:
System:
OS: Linux 5.15 Ubuntu 22.04.1 LTS 22.04.1 LTS (Jammy Jellyfish)
Shell: 5.1.16 - /bin/bash
Binaries:
Node: 20.18.0 - ~/.nvm/versions/node/v20.18.0/bin/node
Yarn: 1.22.22 - /mnt/c/Program Files/nodejs/yarn
npm: 10.8.2 - ~/.nvm/versions/node/v20.18.0/bin/npm
npmPackages:
expo: ^51.0.0 => 51.0.12
react: 18.2.0 => 18.2.0
react-dom: 18.2.0 => 18.2.0
react-native: 0.74.2 => 0.74.2
react-native-web: ~0.19.10 => 0.19.12
npmGlobalPackages:
eas-cli: 12.6.0
Expo Workflow: bare
✔ Check Expo config for common issues
✔ Check package.json for common issues
✔ Check native tooling versions
✔ Check dependencies for packages that should not be installed directly
✔ Check for common project setup issues
✖ Check for app config fields that may not be synced in a non-CNG project
✔ Check if the project meets version requirements for submission to app stores
✔ Check for issues with Metro config
✔ Check npm/ yarn versions
✔ Check Expo config (app.json/ app.config.js) schema
✔ Check for legacy global CLI installed locally
✔ Check that native modules do not use incompatible support packages
✖ Check that packages match versions required by installed Expo SDK
✖ Check that native modules use compatible support package versions for installed Expo SDK
Detailed check results:
Expected package @expo/metro-config@~0.18.11
Found invalid:
@expo/[email protected]
(for more info, run: npm why @expo/metro-config)
Advice: Upgrade dependencies that are using the invalid package versions.
This project contains native project folders but also has native configuration properties in app.config.ts, indicating it is configured to use Prebuild. When the android/ios folders are present, EAS Build will not sync the following properties: orientation, icon, userInterfaceStyle, scheme, splash, ios, android, plugins, updates.
Advice: Add '/android' and '/ios' to your .easignore file if you intend to use CNG / Prebuild. Learn more: https://docs.expo.dev/workflow/prebuild/#usage-with-eas-build
The following packages should be updated for best compatibility with the installed expo version:
@sentry/[email protected] - expected version: ~5.24.3
[email protected] - expected version: ~51.0.38
[email protected] - expected version: ~4.0.28
[email protected] - expected version: ~0.28.19
[email protected] - expected version: ~0.27.6
[email protected] - expected version: ~0.25.27
[email protected] - expected version: 0.74.5
[email protected] - expected version: ~0.12.5
[email protected] - expected version: ~10.0.10
Your project may not work correctly until you install the expected versions of the packages.
Found outdated dependencies
Advice: Use 'npx expo install --check' to review and upgrade your dependencies.
One or more checks failed, indicating possible issues with the project.
Error output
Reproducible demo or steps to reproduce from a blank project
npx create-expo-app@latest StickerSmash
eas.json
Things of note:
eas credentials
on Windows to no avail.Probably not, it's the first time I'm tryingActually, I recall it worked once before (on Ubuntu) with another account that I was able to use just to verify that the flows worked. This implies to me that the difference between the way our Apple Developer Accounts are configured could be a key factor.authenticate.js
turns to@expo/apple-utils
which appears to be closed source so I can't follow it and understand further.The text was updated successfully, but these errors were encountered: