Login to azure devops account from xcode

How do I sign in to Azure devops accounts from xcode preferences. The account for Azure doesn't show up. The code is already hosted on Azure Devops and I was working on an already made project and the repo is already in the azure devops account. The previous account was obselete and now I need to login to my own account to push the changes. Whenever I am trying to push and commit the changes I get an error:

remote: You are not authorized to access this collection. (-20)

Azure devops seems to be a bit of a hole in Apple's coverage everywhere -- Xcode cloud doesn't support it, and it's always a bit of a challenge to get working because of it's authentication system (similar to the change that Github is forcing on it's users now -- no passwords, custom, per-repository, frequently expiring and hard-to-configure tokens, etc.)

That said, its very large size limits make it the obvious choice for certain types of projects (games with lots of assets, for example) that couldn't be hosted elsewhere in a cost-effective manner.

For my part, I don't bother even trying to set it up from Xcode preferences any more. Just set it up with an external Git tool (I use Fork) and Xcode will see the existing repository automatically once you open the project there. As long as it's set up correctly to push/pull/fetch etc. from the command line, it'll work in Xcode. (Or just do all your source control from the external tool/command line, which also works fine).

Alternatively, if there's no barrier to doing so, it might be easier just to jump on the bandwagon and move the repository to GitHub or one of the other more common providers. I do this for smaller projects just to avoid the hassle.

Login to azure devops account from xcode
 
 
Q