TypeError: Cannot read property 'attributes' of undefined

Hi, I am running expo submit and getting the following error:

Log in to your Apple Developer account to continue
:heavy_check_mark: Apple ID: …
› Restoring session /Users/{user name}/.app-store/auth/{apple Id}/cookie
› Team {team name and Id}
› Provider {team name}
:heavy_check_mark: Logged in Local session

TypeError: Cannot read property 'attributes' of undefined

Hi! what version of eas-cli are you running? and if you don’t mind, could you re-run the command with EXPO_DEBUG=true and paste the full output?

I think this error is coming from here, but hopefully the EXPO_DEBUG flag will give us more certainty on that (you could also open that file locally yourself and confirm)

That you for your response, may I ask, is there a step by step on things to do in apple connect prior to running this command ?
This is the output:
app % EXPO_DEBUG=true
app % eas submit -p ios
:heavy_check_mark: Linked to project @1canfly/great-places

Ensuring your app exists on App Store Connect. This step can be skipped by providing the --asc-app-id param. Learn more: https://expo.fyi/asc-app-id

› Log in to your Apple Developer account to continue
:heavy_check_mark: Apple ID: …
› Restoring session …/cookie
› Team …
› Provider …
:heavy_check_mark: Logged in Local session

TypeError: Cannot read property 'attributes' of undefined

You need to run EXPO_DEBUG=true eas submit -p ios all in one command

there are some things to make sure of on App Store connect, they are documented here