Hey, I had a similar issue. Xcode would crash on every pod install, fastlane builds, branch changes, stashes etc. Found out the cause was incorrectly added SPM.
I have a workspace with two projects. And one of the SPM packages was added to first project, as a result second project also had an access to that SPM library, so I was able to add it via Frameworks and Libraries.
I removed that library from second project, and then added it as a package from Project -> Package Dependencies and then added its library from Target -> Frameworks and Libraries. Now it is working without an issue
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: