Hi all, i got an issue while running “expo build:ios” command as below:
Trying to authenticate with Apple Developer Portal…
Available session is not valid any more. Continuing with normal login.
getaddrinfo: nodename nor servname provided, or not known
Authentication with Apple Developer Portal failed!
Reason: Unknown reason, raw: “Could not receive latest API key from App Store Connect, this might be a server issue.”
Before i got the issue, i switched my apple account from “A” to “B” and run the command expo build:ios -c to clear the previous apple account.
This was caused by Apple disabling one of their endpoints that FastLane uses. We fixed it by upgrading FastLane versions (since the new version no longer hits that endpoint) and rolling out a new turtle builder.
If you don’t see an option to create a new Apple ID, you are signed in to the App Store, iTunes Store, Apple Books, or iCloud with an existing Apple ID.