title: Accidentally removed xcassets file from Xcode project
body: <p>I wanted to remove a single folder from the image collection, however, I somehow managed to throw the entire xcassets file into the trash.</p>
  
  <p>The normal 'Put back' method is not available, and simply dragging the deleted folder to Xcode yields an error:</p>
  
  <blockquote>
    <p><strong>"Images.xcassets" couldn't be copied to "ProjectPear" because an item with the same name already exists.</strong><br>
    To save the file, either provide a different name, or move aside or
    delete the existing file, and try again.</p>
  </blockquote>
  
  <p>I'm not sure where this collection is located within my Xcode project, as the navigator doesn't appear to show anything, and the command-line isn't dropping any hints either. I'm afraid to mess around with the <code>project.pbxproj</code> file, as it might jumble up a lot more than just my image collection.</p>
  
  <p>Edit:
  Dragging the files back to Finder from Trash was successful, however, the Xcode navigator no longer recognises - or in this case, still doesn't recognise - the .xcassets file. I'm not sure whether to add something in the .pbxproj file.</p>