So how do I get rid of this annoying warning note, when I want to undo after saving a file:
You are about to undo past the last point this file was saved. Do you want to do this?Open Terminal window and type:
defaults write com.apple.Xcode XCShowUndoPastSaveWarning NORestart Xcode and you're fine. Until next machine.