Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Undo doesn't function in IB (Interface Builder) in Xcode 5

Tags:

ios7

xcode5

Is anyone else having this problem? It was working a couple of days ago but now anytime I'm working in Interface Builder on a storyboard Undo simply says "Undo Change Frame Size" no matter what I do it doesn't allow undo/redo (this is VERY TEDIOUS!).

like image 874
Stu P. Avatar asked Sep 26 '13 18:09

Stu P.


1 Answers

It also happened to me when I upgraded to Xcode 5 for some of my older projects that I've migrated. Cleaning the build folder didn't do any help. But deleting everything inside the DerivedData folder (/Users/(your username)/Library/Developer/Xcode/DerivedData) helped me. It works much like a cache folder so deleting everything inside it is safe (everything inside there is built from your project files anyway, they just speed up things). It's probably corrupted (or incompatible) with Xcode 5. Close Xcode, delete everything inside it, and reopen Xcode, build your project. It worked for me.

Note: If you are unsure about deleting the files in DerivedData, you can back it up to somewhere else before deleting it just to be on the safe side. But I can pretty much delete everything inside it with confidence.

like image 69
Can Poyrazoğlu Avatar answered Jan 04 '23 02:01

Can Poyrazoğlu