Accidentally removed xcassets file from Xcode project

I just did this myself and figured out how to quickly remedy the issue.

  1. Go to the project folder in the Finder. You should find that the
    folder Images.xcassets is still there.

  2. Move it to a separate location like to the Desktop or something. It
    still has all of the images and json files.

  3. Jump back to Xcode and create a new asset catalog for images.

    File > New > File... > Resource > Asset Catalog

    Name it Images.

  4. Quit Xcode and return to the Finder.

  5. Copy the folders from within your old Images.xcassets to the new
    Images.xcassets directory in your project.

  6. Launch Xcode and you’re back in business!

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)