.xcdatamodel:cdtool无法编译 [英] .xcdatamodel: cdtool cannot compile

查看:295
本文介绍了.xcdatamodel:cdtool无法编译的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这个问题发生在OS X El Capitan 10.11 beta 6的最后更新之后,Xcode 7 beta 4编译我的项目与.xcdatamodel文件中的错误:
cdtool无法编译
我试图编译相同的项目在OS X Yosemite和Xcode 7.0 beta 4我总是相同的编译错误。
有关如何解决这个问题的任何想法?

This problem occurred right after the last update of OS X El Capitan 10.11 beta 6, Xcode 7 beta 4 compiles my projects with the error in .xcdatamodel file saying: cdtool cannot compile. I tried to compile the same projects on OS X Yosemite and with Xcode 7.0 beta 4 I get always the same compilation error. Any idea on how to clear this issue? I'd appreciate any help.

推荐答案

Apple开发者论坛上发布的一个解决方案是重命名iOS模拟器。

One solution posted on the Apple developer forums is renaming a file within the iOS Simulator.

cd /Applications/Xcode-beta.app
cd Contents/Developer/Platforms/iPhoneSimulator.platform  
cd Developer/SDKs/iPhoneSimulator.sdk/usr/lib  
sudo mv dyld_sim dyld_sim.orig

这是原始的链接

这篇关于.xcdatamodel:cdtool无法编译的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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