Save kernel data models in Xcode 4

I want to create a new iOS project based on a bitmap from scratch using the Xcode 4.0 Template Wizard (build 4A304a). I checked the "Use master data" checkbox. When I try to save the generated core model of the core test.xcdatamodeld , Xcode says the document "test.xcdatamodel" cannot be saved.

How to save a file? I already checked the file system for the correct permissions, but they look good.

+4
source share
1 answer

Yeah. I have been suffering from this problem all day and just found the answer. I ran / Applications / Utilities / Console and tried to save again. This error appeared on the console:

 AppKit called rmdir("/Users/kris/.TemporaryItems/folders.501/TemporaryItems/ (A Document Being Saved By Xcode)"), it didn't return 0, and errno was set to 66. 

Although I could not see anything clearly wrong in this folder (permissions and ownership looked normal), deleting everything ~ / .TemporaryItems / allowed me to save again.

+2
source

Source: https://habr.com/ru/post/1343939/


All Articles