title: What to do if you accidentally remove the reference to a file in Xcode?
body: <p>In the middle of coding an app, I wanted to delete a button. What I did not realize was that I was actually selected <code>main.storyboard</code>. When I pressed backspace to delete <code>main.storyboard</code> I pressed "Remove reference". At this point I tried command + z, but ,unfortunately, <code>main.storyboard</code> did not come back.I tried to run the app but I kept getting signal <code>SIGABRT</code>.</p>
  
  <p>My question here is if you accidentally remove the reference to a file is there any way of recovering it?</p>