How to delete Swift Package Dependency in Xcode 11? How to delete Swift Package Dependency in Xcode 11? xcode xcode

How to delete Swift Package Dependency in Xcode 11?


  1. Open Xcode
  2. Select your project
  3. Look at the top middle
  4. Select Swift Package Manager menu

You'll be able to manage your packages (add / remove)

enter image description here


In addition to Pierre's answer, this was driving me crazy, I had a sub project that I was editing, I forgot about that (it was in a subfolder). Even though I removed it in the "Swift Packages" pane it kept coming back. Removing that sub folder reference made sure the PM dependencies went away.


I removed the swift package, but its dependancies were still showing in the project.I saw the swift package was still in the Frameworks folder at the bottom of left pane,enter image description here

I removed it from there and the dependencies are gone.