How to delete Swift Package Dependency in Xcode 11?

后端 未结 4 1839
自闭症患者
自闭症患者 2021-02-06 19:56

I have a project in Xcode 11 that I added Swift Package Manager dependencies to. I now realized that I no longer need one of the package dependencies I previously added to my pr

4条回答
  •  鱼传尺愫
    2021-02-06 20:35

    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.

提交回复
热议问题