无法为版本化模型创建捆绑文件夹? [英] Could not create bundle folder for versioned model?

查看:135
本文介绍了无法为版本化模型创建捆绑文件夹?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到了其他开发者的项目。然后我在Xcode中打开iOS项目并构建它,我得到如下错误:

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.

推荐答案

我不知道是什么原因造成的,但我之前遇到过此错误。

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

解决这个问题的最简单方法是删除/ Users / TomMac / Library / Developer / Xcode / DerivedData目录中的所有内容。

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.

这篇关于无法为版本化模型创建捆绑文件夹?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆