Lately, I keep getting this warning when closing Xcode asking if I want to save the changes. Strangely enough, I have never received this before. I looked to see if I could disable and enable autosave. Unfortunately I have not found anything. Does anyone have any tips?
Xcode autosave issue
Take a look at your settings in the System Settings app -> Desktop & Dock section -> Windows control group.
"Ask to keep changes when closing documents" "Close windows when quitting an application"
One or other of these may have been accidentally changed, result in the behavior you're seeing.
Didn't work for me, oly ruined my File.
This happens to me when my project is on an external disc and there is a problem with the disc. Remounting the disc will solve the problem, but Xcode will have to be force quit before you can go on.