Unable to add Swift Package dependency URL in Xcode 13.0 beta

I'm working on a simple iOS app and am trying to add a Swift Package dependency to my project (in my case, Alamofire) and I'm getting an error when I paste their GitHub URL into the box asking for it. It reads The operation couldn't be completed. (PackageCollections.JSONPackageCollectionsProviderError error 3.). I also tried to see if the error was because Alamofire isn't updated for Xcode 13, but a package generated locally for development and pushed to GitHub also has the same error (That url is: here on Github).

Any help would be great!

Looks like you are trying to add new Swift Package Collection not a single package. Instead of pressing + button down the bottom try to paste url into search field at the top (see screenshot) and then press "Add package" button.

Thank you, that helped me to. This is not intuitive at all

I came to also express my frustration at how painfully unintuitive this is

I was looking how to add Firebase into my project, but got a bit similar error. Well now, when you enter it into the right box, it worked just fine. Thanks!

Unable to add Swift Package dependency URL in Xcode 13.0 beta
 
 
Q