Search code examples
iosswiftswift-package-manager

How to check SPM repo link in xcode?


I am trying to check repo link for my existing project already added SPM.

I want to know the repo link for github/bitbuckect etc etc.

Why i wanted to know this - I have one existing project in which lots of SPMs are there. and I want to add all that SPM in my new project but I don’t know git links for those SPM.

Is there any way to do that?

Thank you for help.


Solution

  • If you have a Package.swift file in the root of your repo, that should also contain the links, if not, try the below one:

    enter image description hereOn the left pane, each of the dependencies will have a .podspec file with a s.source specification. You can find the URL there.