Xcode crashes when downloading Swift package dependency

I'm trying to publish two frameworks I wrote in Swift on GitHub.

https://github.com/nickasd/BoardGameKit

https://github.com/nickasd/BoardGameKitHost

I want to add the first framework as a dependency to one of my Xcode projects. I click on the + button in the Package Dependencies tab, select BoardGameKit and click Add Package. A sheet opens and after a couple seconds, while the sheet is still open, Xcode crashes.

When I try the same steps with the second framework, Xcode survives and finally shows me a confirmation sheet, and clicking on Add Package works as expected.

Both repositories look exactly the same to me, except for their name of course. I even force pushed the default, empty Swift package created in Xcode with the Framework template to both repositories, and still only the first one makes Xcode crash, even after deleting all DerivedData folders and restarting Xcode.

What could be the issue?

I created FB22832333.

Thanks so much for the post and the bug.

You can see the status of your feedback in Feedback Assistant. There, you can track if the report is still being investigated, has a potential identifiable fix, or has been resolved in another way. The status appears beside the label "Resolution." We're unable to share any updates on specific reports on the forums.

For more details on when you'll see updates to your report, please see What to expect after submission.

Also thanks for providing the links for the repository so engineers can reproduce the crash just by adding it into Xcode 26.5

Albert
  Worldwide Developer Relations.

Thanks. If in the meantime you should happen to know why Xcode crashes, e.g. because of some configuration of the repository, please let me know, so that I can see if I can find a workaround and go on with publishing it without having to wait for the next Xcode update.

Xcode crashes when downloading Swift package dependency
 
 
Q