I’m trying to create a new project with Core Data and when insert some entity and record and build the project, this error come out. But Attention!!! Only if the name of project (and consequently the name of xcdatamodeld file) contains ’ - ’ (space ‘-’ space) characters.
@rufy Thanks very much for your question! Could you please show the steps you are using in creating your project, and perhaps copy/paste the exact error message you’re getting in the console? This way, we can identify what it is exactly you’re doing wrong.
@syedfa thanks for answer
The steps to reproduce the error are very easy.
create a new project with Core Data
name the project with a name that has this characters: ’ - ’ (e.g. testing - app)
after saved it, insert an entity, change the name of entity.
add 1 o 2 attributes to the entity and change them names.
build and run (if you can)
the error is this:
iJishonario___Dizionario_di_Giapponese.xcdatamodeld: The operation couldn’t be completed. (IDEFoundation.IDETemplateParseError error 1.)