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

查看:12
本文介绍了.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天全站免登陆