Swift Package Manager Stuck in Loading State in Xcode 16

I’m having an issue with Xcode 16 where the Swift Package Manager is stuck in the "Searching All Sources" state. It only shows Apple Swift packages and is not listing any of third-party packages.

I’ve tried completely reinstalling Xcode, but the problem persists. Has anyone else encountered this issue? Any suggestions on how to resolve it?

Answered by Yokesh in 806544022

for me it is working now. cleared the recently viewed history and then searched with needed git library url then worked. sometimes it needs to reload to get the package in SPM. Thanks

I have the same issue.

Accepted Answer

for me it is working now. cleared the recently viewed history and then searched with needed git library url then worked. sometimes it needs to reload to get the package in SPM. Thanks

Swift Package Manager Stuck in Loading State in Xcode 16
 
 
Q