Xcode Cloud cannot be setup from Xcode 27

I'm trying to start using Xcode Cloud from a project, but the only thing I get is the message saying "Failed to create workflow" with the actual error being "Could not find item. Domain: XcodeCloudKit.XcodeCloudCommandHandler.CommandHandlerError Code: 5".

Initially, it did lead me to configuring permissions on GitHub. But it failed in the end probably because the git remote of the project was pointing to another organisation, that transferred the ownership to me. I switched remote to my org, but it didn't help. So, I revoked the permission and deleted Xcode Cloud app from my GitHub in hopes that the config process would start again. It does not.

All I get is this senseless error.

Is Xcode Cloud functionality functioning at all in Xcode beta 27 for anyone?

Answered by ViktorCode in 894625022

Figured how to fix that: In Xcode a menu item became available, offering to delete Xcode Cloud data stored locally.

After that I was able to configure the project for use with Cloud.

Accepted Answer

Figured how to fix that: In Xcode a menu item became available, offering to delete Xcode Cloud data stored locally.

After that I was able to configure the project for use with Cloud.

you saved my life, thank you. I was going to revert back to macOS 26,

I think Xcode 27 Beta is quite unstable for setting up the workflow still

tried delete once and create the workflow again works

Update: I got the workflow setup to complete by first using Xcode’s File > Save As Workspace…, then reopening the generated .xcworkspace and configuring Xcode Cloud. Before that, the Xcode console showed Workspace or window was not found when attempting to begin onboarding at XcodeCloudNavigator.Mode.Onboarding.beginFlow. The first cloud run said the workspace was missing from the repository. After committing the workspace, the next run required a workspace-level Package.resolved, which I committed. Build 3 then succeeded for iOS but remained at Resolve package dependencies for watchOS for over 15 minutes, logging only fetches from public repositories. I cancelled it and used Clean and Rebuild on the same commit (453ca3a) without source changes. Build 4 succeeded for both iOS and watchOS on Xcode 27.1. I don’t know the cause; the watchOS hang appears to have been transient.