user794895
user794895

Reputation: 43

Xcode cannot save file

I am on Mac OS X 10.6.8 using Xcode 4 with Cocos2D.

The other day, I got an error message out of the blue when trying to run my project:

The document "MainMenuScene.m" could not be saved.

I tried the following, none of which has worked:

I sometimes get the off chance and the file does save, but reverts back to not saving again.

Anyone have any ideas on what I can do to fix this?

Upvotes: 2

Views: 3602

Answers (3)

Mogar85
Mogar85

Reputation: 21

I had this issue with a project on an external ssd. Disconnecting the ssd and reconnecting fixed it for me.

In short: Have you tried turning it off and on again?

Upvotes: 2

Karoly S
Karoly S

Reputation: 3258

See the full conversation in the comments, but this ended up being solved. Moving what was suggested/asked here for clarity and closure.

Is that the full error? Also, are you saving it on a USB or your HD?

Are you an admin on your computer, etc? Have you tried to move the project completely, or copy and try to work on it from somewhere else? With the currently given information I cant think of anything that would cause that kind of problem. What has changed since you were last able to edit and save without issues?

Glad we got it figured out!

-Karoly

Upvotes: 0

Vap0r
Vap0r

Reputation: 2616

Have you tried just moving the file? That'll probably do it.

Upvotes: 0

Related Questions