iOS.Lover
iOS.Lover

Reputation: 6051

Recovery deleted files from Xcode

I just accidentally deleted some files form Xcode proj , but I am sure I pressed the remove reference only button , but all of my images have deleted from my project and I can't locate them on my hard , is there anyway to recover these images ? there is no sign of images in trash !!!

Upvotes: 6

Views: 20097

Answers (2)

Mc.Lover
Mc.Lover

Reputation: 4994

DON'T PANIC AND BE HOPEFUL ,

  • check out your last Device or Simulator build on the Product folder
  • select your file and click reveal in finder
  • then right click on you app file and select Show package content , if you be lucky your lost files would be there

Upvotes: 17

Jesse Bunch
Jesse Bunch

Reputation: 6679

Xcode doesn't move them if you click "Remove References Only." That means if you can't find them on your hard drive now, they're probably lost. Please tell me you were using source control? Or, at the very least, Time Machine?

Upvotes: 1

Related Questions