title: How to delete Swift Package Dependency in Xcode 11?
body: <p>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 project.</p>
  
  <p>As you can see below, there are no options under <code>File &gt; Swift Packages</code> for deleting a packager from Swift Package Manager for this project.</p>
  
  <p><a href="https://i.stack.imgur.com/V8w13.png" rel="noreferrer"><img src="https://i.stack.imgur.com/V8w13.png" alt="Swift Packages Menu Options"></a></p>
  
  <p>I have tried removing the package from the array in the <code>project.xcworkspace/xcshareddata/swiftpm/Package.resolved</code> file. But it still doesn't remove it from Xcode, and the next time I <code>Update to Latest Package Versions</code> it readds the entry to the <code>Package.resolved</code> file.</p>
  
  <p>How can I delete a Swift Package Manager dependency in my project?</p>