Xcode Cloud: CI.SCM.Error.RepositoryNotFound with GitHub Organization (401 Unauthorized)

I am unable to connect Xcode Cloud to my GitHub organization repository despite being the organization owner.

Error: CI.SCM.Error.RepositoryNotFound
Xcode Version: 16.2 (or your version)

Steps I have taken:

  • Verified I am an Owner of the GitHub organization
  • Uninstalled and reinstalled Xcode Cloud GitHub App multiple times
  • Cleared all local Xcode caches and preferences
  • Signed out of Apple ID on Mac and restarted
  • Signed back in to Xcode only (not system level)
  • Tried granting access again
  • Attempted with multiple organization owner accounts

Following API shows: 401 Unauthorized on https://appstoreconnect.apple.com/olympus/v1/providerSwitchRequests

Additional context:

  • GitHub App shows as successfully installed on organization
  • Repository access set to "All repositories"

Has anyone else encountered this or found a workaround?

Thank you!

Xcode Cloud: CI.SCM.Error.RepositoryNotFound with GitHub Organization (401 Unauthorized)
 
 
Q