6

I deleted my App target in iOS by mistake. It made me get the old version and replace the classes again and build it which is quiet risky. Is there an easy way to add a target to the app?

Praveen Kumar
  • 1,338
  • 3
  • 20
  • 31
  • 1
    possible duplicate of [this](http://stackoverflow.com/questions/13057453/how-to-retrive-accidentally-deleted-app-target-from-xcode) – Krishnabhadra Mar 28 '13 at 11:11
  • I tried the solution from the page above. But All i got was just a blank screen after adding the new view. Which is the reason i started a new thread. Thanks. – Praveen Kumar Mar 28 '13 at 11:22
  • any version controlling...? – holex Mar 28 '13 at 14:36
  • This was a very short project so didn't have version controlling. But Only after this mistake i have learnt how important it is to maintain the project in an SVN or Git. – Praveen Kumar Mar 28 '13 at 14:51
  • Seriously... CMD-Z doesn't work? What an awful awful awful design ... ugh... – Brandon Nov 11 '15 at 20:08

1 Answers1

2

Check all the Answers from this SO Question : How to recreate a deleted target?

Preferred One is the Answer given by Joshua Nozzi.

Community
  • 1
  • 1
Bhavin
  • 27,155
  • 11
  • 55
  • 94