Xcode cloud and unlinking SCM

Today, playing with Xcode cloud I came across a really nasty, undesirable effect of executing steps in an undocumented order.

I had a project with a brand new workflow, I had it linked to my SCM (gitlab self-hosted) and it worked. Today, it didn't work so I thought, OK, this thing is beta and something must not be working that well, let's reset everything and start over.

I deleted the workflow, then cleared the Xcode cloud data (this removes everything from your Xcode cloud tabs on your product and, unfortunately, from your profile as well).

Then proceed to navigate to your profile to unlink the SCM connection and it appears to be empty.

Because of this, I removed my application in gitlab (which is the token provider for oath) to start again, thinking I did something wrong and I want to follow the steps brand new again.

I went to Xcode, tried to create a new workflow and link my source control provider and... I get a "continue to authorise your repository" button, which is now broken because that application doesn't exist.

The question is, does anybody know of a way to unlink my SCM from my account? The Xcode cloud tab under my profile tells me I need to create a workflow to access anything from there, but I am completely unable to complete that creation as the workflow requires it to be connected to a self hosted instance.

This was extremely easy to get wrong.

  • Hi, Any luck on reconnecting to the SCM ?

Add a Comment

Replies

The best thing to do here is to open a bug report using Feedback Assistant, and provide as much detail as you can, including your Developer team ID, so that we can investigate what is going on. Please post the FB number here once you've done this.

Hi there, The exact thing happened to me, I'm unable to use Xcode Cloud as it won't reconnect to my repo.

FB number is FB9784816

Great Day

I'm currently dealing with the exact same thing. Using Github as my SCM, I was getting errors telling me I had to reconnect, but clicking reconnect only gave me another error saying it was incomplete. Thought maybe I'd just start over from scratch and deleted all Xcode Cloud data. Now it gets stuck at "Grant Access to Your Repository" and I get a popup error telling me my app couldn't be added to Xcode Cloud.

Added my own feedback. FB number is FB9785098.

Having the same issue here. Did anyone managed to fix it?