title: How to update Swift dependencies in Xcode
body: <p>After I create a new swift package with dependencies I call <code>swift package generate-xcodeproj</code>. If my dependencies have a new version I call <code>swift package update</code>. The new version of my dependency gets downloaded and built but Xcode now has a bad reference to the old version of the dependency. I can call <code>swift package generate-xcodeproj</code> again but this will remove any custom targets I have setup.</p>
  
  <p>How do I update my swift dependencies and my Xcode project without deleting my custom targets?</p>