iCloud: Losing permission to write to a file if it is modified on another machine while open locally

StackOverflow https://stackoverflow.com/questions/8302520

  •  25-10-2019
  •  | 
  •  

Question

I have iCloud document sharing mostly working with Mac OS X; I can save and read documents and updates on one machine move to the other machine. The only problem at this point is that if the same document is open on two machines and one of the machines updates the document the other machine is no longer able to save the document unless it is closed and re-opened. There is an error displayed saying that I don't have permission to write to the document. I've been looking through the documentation and I haven't found anything yet that looks like it would solve the problem. I call: [NSFileCoordinator addFilePresenter:self]; When the file is opened, but it doesn't seem to have any effect.

Has anyone else run across this issue and found a solution?

Was it helpful?

Solution

This was caused by a bug in 10.7.2 that has been fixed in 10.7.3 so if you run into the same problem just make sure you are on 10.7.3 or later.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top