问题描述
升级到lion后,以下错误会阻止成功编译核心数据模型:
这是执行以下命令的结果:
请注意,此命令在独立于xcode的自定义构建脚本中执行,在升级到Lion之前,我已经读过模型编译错误(例如,请参阅问题,但详细的解决方案似乎不适用。 p>
任何人在升级到Lion之后手动调用模型编译时遇到问题?有任何想法吗?感谢。
看起来像对象模型编译器现在期望目标路径是绝对的。这个工作方式:
After upgrading to lion, the following error prevents successful compilation of a core data model:
This is the result of executing the following command:
Note that this command is executing in a custom build script independently of xcode, and that it ran without problems before upgrading to Lion.
I've read of model compilation errors after upgrading to Lion (for instance see this question), but the solutions detailed there do not seem to apply.
Anyone else encounter problems manually invoking model compilation after upgrading to Lion? Any ideas? Thanks.
Figured it out - it seems like the object model compiler now expects the destination path to be absolute. This works:
这篇关于“路径上的数据模型的编译失败”当编译Core Data模型时升级到狮子的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!