I want to create a new split view-based iOS project from scratch using the template wizard of Xcode 4.0 (build 4A304a). I ticked the “Use Core Data” checkbox. When I try to save the generated test.xcdatamodeld Core Data model, Xcode says The document “test.xcdatamodel” could not be saved.
How can I save the file? I already checked the file system for the proper permissions, but they seem alright.
Aha – I’ve been suffering from this problem all day and just found the answer. I ran /Applications/Utilities/Console and tried the save again. This error appeared in the console:
Though I couldn’t see anything obviously wrong with this folder (the permissions & ownership looked normal), removing the whole of ~/.TemporaryItems/ allowed me to save again.