Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

cannot undo storyboard changes xcode

Does anyone know how I can undo changes made to a storyboard. Everytime I accidentally delete an element I cannot get it back and it is becoming a real timewaster.

Anyone know?

like image 567
jimbob Avatar asked Nov 29 '13 10:11

jimbob


1 Answers

You should be able to do a simple undo from Xcode storyboard, it might be related to some leftovers...

To make a good cleanup:

  1. open Xcode
  2. clean product (Command + Shift + K)
  3. Clean Build folder (Option + Command + Shift + K)
  4. Close Xcode
  5. delete /Users/(your username)/Library/Developer/Xcode/DerivedData
  6. repopen xcode
  7. open Storyboard, change something, try to use Command+Z

Hope it works

like image 162
ekeren Avatar answered Oct 12 '22 13:10

ekeren