Upon trying to run expo build:ios I’m unable to get my Apple Developer Account authenticated with one particular project. Strangely, I’m able to build the ipa for other expo projects which have an App.json structured the same way. Here’s what’s happening:
I run expo build:ios and am prompted to login to my Apple Developer account.
I enter my Apple ID and password.
’ Trying to authenticate with Apple Developer Portal… ’ appears and I wait several seconds.
’ Available session is not valid any more. Continuing with normal login. ’ appears and I wait several more seconds.
I then get the error ’ 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.” ’
Again, it’s bizarre that I’m able to build ipas for other projects with manifests structured the same way. I can’t deduce what’s going on here. Has anyone had an experience like this?
@chris.viabl Are you experiencing the issue with all your expo projects? In my case it’s only one app. Others are building fine and it’s impossible to deduce why.
Could you confirm which error message you are getting? Is it the errors from the first comment in this thread? Or is it GetEnv.Nonexistent: EXPO_APPLE_ID does not exist and no fallback value provided.?
If it is the latter then could you let us know how you are calling the expo command? (You don’t have to post actual Apple IDs and passwords etc., of course. You can post e.g. MY_APPLE_ID, or MY_APPLE_PASSWORD etc.
looks like the tags --apple-id (which is your user name) and --apple-id-password are now required where there were not before as it allowed you to enter them later in the upload process.
It looks like nobody has created an issue for this yet. Could you do so and add the above info about it working in 3.6.0 and failing in later versions and any other relevant details?