【发布时间】:2017-11-12 07:24:20
【问题描述】:
安装 Xcode 9 beta 后,Xcode 8 在编译项目时给我一个错误:
在“/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Agents/cdtool”中找不到 cdtool:找不到平台
<DVTPlatform:0x7fd67af0a930:'com.apple.platform.iphonesimulator':<DVTFilePath:0x7fd67af0a7c0:'/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform'>>的模拟器运行时。
我怀疑 Xcode 9 修改了 Xcode 8 的某些共享状态(设置路径、覆盖文件等)。但我试过删除,两个 Xcode 都无济于事。
该项目使用 Core Data,并且在尝试编译 xcdatamodel 时显然失败了。
我仍然可以在 Xcode 9 下编译和运行。
【问题讨论】: