Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not create bundle folder for versioned model?

Tags:

ios

iphone

ios6

I received project from other developer. Then i opened iOS project in Xcode and build it, i got error as below:

Volumes/Macintosh D/My workspace/HCProject/Model/HealthCareModel.xcdatamodeld:0: error: 
Could not create bundle folder for versioned model at
'/Users/TomMac/Library/Developer/Xcode/DerivedData/HCProject-bdxarurbgcdbaecxaoocaroetsjt/Build/Products/Debug-iphoneos/HCProject.app/HealthCareModel.momd'

Sorry if this is a basic question,please help me out. Thanks a lot.

like image 823
MichaelP Avatar asked Jan 09 '13 07:01

MichaelP


1 Answers

I don't know what causes this but I have experienced this error before.

The simplest way to fix it for me was to delete everything in in the "/Users/TomMac/Library/Developer/Xcode/DerivedData" directory.

There will be multiple directories under here you can probably get away with just deleting the one for the particular project that failed, but I haven't tested this.

like image 63
nacross Avatar answered Sep 28 '22 11:09

nacross