xcode The document “…” could not be saved

前端 未结 15 2875
谎友^
谎友^ 2021-02-20 00:31

I use xcode 3.2.4 on snow leopard. Today when I tried to save a file on my project I get an error message saying: The document \"nameOfFile.m\" could not be saved. I tried reins

15条回答
  •  南旧
    南旧 (楼主)
    2021-02-20 01:19

    I just ran into the same problem, then I noticed I ran out of disk space. You can disable the warning that pops up when you run low on disk space (perhaps not a wise thing to do). I did that a few days ago and was puzzled for a moment when this message appeared. They could've just said "Disk full" or something instead of "cannot save". Anyway if anyone ever runs into this just free up some disk space.

    You might be able to save in an external editor because its not also building your app which might use up the little remaining space. It might also be why it worked after rebooting (if OS X cleaned up some cached stuff on reboot) so it seems plausible.

    Either that or your HDD might have just crashed. tic....tic....tic.....

提交回复
热议问题