xcode The document “…” could not be saved

前端 未结 15 2823
谎友^
谎友^ 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.

    0 讨论(0)
  • 2021-02-20 01:32

    This can happen when you are working with a network hard drive (or are on a cloud) and not connected to the network (connection lost)

    0 讨论(0)
  • 2021-02-20 01:33

    1.Right click on that file 2.Go to Show in Finder . 3.Click on get info . 4.Goto Sharing & Permission

    Everyone,username,Fetching & selection ----You can choose appropriate read write option.

    0 讨论(0)
提交回复
热议问题