Build/Submit details page URL
No response
Summary
Following up with #1731 which IMHO was closed with a suggested fix that doesn't resolve the actual issue.
Attempting to submit builds to apple will check your credentials and give you the option to choose an organization. If you have a logged in session and try to push anything else from your expo account, the CLI tool assumes that you want to use the same organization and there is no option to choose a different organization. Per #1731 there is a workaround to delete your cookie file, requiring a new login (and then being able to select the alternate organization): #1731 (comment)
I use one apple account that has been granted permissions on two separate organizations. It seems that when I log in (eg am prompted for my password) I have the option to select a team/org. However if I need to build and submit builds for multiple organizations before my session has expired, it presumes to use my last organization which is NOT what I want. I then get "bundle not found" errors etc. How hard would it really be to just add an --org= parameter or similar?
Workarounds like deleting the cookie or deleting distribution credentials are a red herring. The actual issue here (one of them at least) is people getting locked into only being able to use a single org. Please provide a simple way to either force re-auth with apple, or ideally just allow the manual selection of your organization as if you had just logged in.
Managed or bare?
Bare
Environment
n/a
Error output
The bundle identifier (correct bundle id) is not available to team (the other org I don't want to be using), change it in your app config and try again.
Reproducible demo or steps to reproduce from a blank project
n/a
Build/Submit details page URL
No response
Summary
Following up with #1731 which IMHO was closed with a suggested fix that doesn't resolve the actual issue.
Attempting to submit builds to apple will check your credentials and give you the option to choose an organization. If you have a logged in session and try to push anything else from your expo account, the CLI tool assumes that you want to use the same organization and there is no option to choose a different organization. Per #1731 there is a workaround to delete your cookie file, requiring a new login (and then being able to select the alternate organization): #1731 (comment)
I use one apple account that has been granted permissions on two separate organizations. It seems that when I log in (eg am prompted for my password) I have the option to select a team/org. However if I need to build and submit builds for multiple organizations before my session has expired, it presumes to use my last organization which is NOT what I want. I then get "bundle not found" errors etc. How hard would it really be to just add an --org= parameter or similar?
Workarounds like deleting the cookie or deleting distribution credentials are a red herring. The actual issue here (one of them at least) is people getting locked into only being able to use a single org. Please provide a simple way to either force re-auth with apple, or ideally just allow the manual selection of your organization as if you had just logged in.
Managed or bare?
Bare
Environment
n/a
Error output
The bundle identifier (correct bundle id) is not available to team (the other org I don't want to be using), change it in your app config and try again.Reproducible demo or steps to reproduce from a blank project
n/a