15
« on: March 30, 2014, 08:54:01 AM »
Hi, I am getting the same error as discussed in this topic. First I looked at possible typos, but i don't that is the case here. I have checked and double-checked for typos here. Really can't find any. Are there any other references to the iDeliverMobileCD -database except for the filename? Originally, I had misspelled the name for it, so I renamed it to iDeliverMobileCD, and hoped that was the only reference to it. Could you have a look at it?
Thanks.
EDIT:
Just figured out what was causing the issue. Renaming the xcdatamodel -doesnt rename the full path. I did first name it wrong, iDeliverMobileCd, with a small d in the end. This was changed to a big d, in the file inspector. After looking at the full path, i discovered that Xcode does not update the full path correctly. here is the full path, after the rename:
/Users/iMac/Documents/Xcode/3 Navigating xcode/iDeliverMobileCD 2/iDeliverMobileCD/iDeliverMobileCd.xcdatamodeld/iDeliverMobileCD.xcdatamodel
as you can see it referenced the file with both the old name and the new one, changing only the filename, but not its folder name. i thought I should just post this here, so if others have the same problem. I've attached a photo.