My xcdatamodel file in Xcode seems to be behaving weirdly.
When I build my project for the first time it gives an error
"Unable to write VersionInfo.plist for the versioned model at <Path>"
and
"Compilation failed for data model at path <Path>"
But when I run it again, it runs without an error. Then after some time the error pops up again and again vanishes when I build again. Sometimes I get a different error message which says
Unable to remove existing model
Any Ideas ??