AppConnect on Xcode Cloud workflow creation that repo can't be found or does not have admin rights, but neither are true

I'm setting up a first workflow in Xcode Cloud and when I go through the flow and reach the 'Grant Access to your source code' pane, my projects repo is listed as primary and has a green checkmark next to it, but one of my SPM dependencies does not. When I press the 'Grant Access' it launches AppStoreConnect which complains the repo can't be found or I don't have the correct admin permissions.

I'm using BitBucket Cloud and both repos are mine and I am the admin for both. Xcode itself will build the dependency locally correctly.

I did see that the dependent SPM package needs a Package.resolved checked in, which I've now done, but I can still no longer get past the Grant Access step.

When I try to add myself as admin to the dependent repo, BitBucket says I can't be added because I'm already an admin. This is the same for the projects primary repo as well. But Xcode still thinks I only have read access. How do I get passed this? Xcode isn't even telling me what repo is troublesome:

    {
      "category" : "xcode-cloud-data",
      "column" : "23",
      "subsystem" : "com.apple.dt.XcodeCloudKit",
      "details" : "Error alert: You must have Admin or Write access to your repository. Your current permission level is read.: ModelErrorResponseError(error: XcodeCloudAPI.Components.Schemas.ErrorResponse(message: \"You must have Admin or Write access to your repository. Your current permission level is read.\", errorKey: nil, helpUrl: nil, details: [], body: nil, actions: []), httpStatus: XcodeCloudCombineAPI.LegacyHttpStatus.badRequest, traceId: Optional(\"ee71bf64b8cf2c27\"), requestUrl: Optional(https:\/\/appstoreconnect.apple.com\/ci\/api\/teams\/69a6de89-4b61-47e3-e053-5b8c7c11a4d1\/products-v2\/A80C7CA9-25F0-4DCA-B7CC-D789A5022B88))\nError Description: Optional(\"You must have Admin or Write access to your repository. Your current permission level is read.\")\nRecovery Suggestion: nil\nHelp Anchor: nil",
      "createdAt" : "2025-06-28T18:49:15Z",
      "level" : "info",
      "filename" : "Logger+Additions.swift",
      "funcName" : "logError(_:)",
      "line" : "36"
    },

@leisurehound Hi, we need some more diagnostics to be able to help you resolve the issue. Could you please file a feedback request for this and post the number here?

You can file Xcode Cloud specific feedback using these steps. Thanks

FB18543763 is the feedback report. Thanks.

AppConnect on Xcode Cloud workflow creation that repo can't be found or does not have admin rights, but neither are true
 
 
Q