xcode The document “…” could not be saved

前端 未结 15 2853
谎友^
谎友^ 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:31

    Cleaning the project (Product > Clean), then force quitting Xcode (Command + Option + Escape, select Xcode, click Force Quit) solved the issue for me. I'm not sure if the clean was necessary, but that was what I did. Upon re-opening the project, I let Xcode index the project before doing anything, then did a Build, and all is well.

提交回复
热议问题