iOS build error "maintenance activities, please try again after some time."

eas-cli/4.1.2 darwin-arm64 node-v18.14.2

Full error:

Authentication with Apple Developer Portal failed!
UnexpectedAppleResponse: Apple provided the following error info:
Service not available because of maintenance activities, please try again after some time.

It’s been multiple days and the service remains unavailable. Most of the time, when I select “N” on the login it tries to log in anyway and fails similarly, so I can’t even build without logging in.

Hi there!

try with

npx eas build --platform ios

instead of

eas build --platform ios

That solved the problem for me!