Cannot find a simulator runtime for platform或Cannot find cdtool

来源:互联网 发布:2016金林钣金展开软件 编辑:程序博客网 时间:2024/05/20 19:16

目前混用Xcode9 beta 和Xcode 8,在Xcode9 beta下载iOS 10.3模拟器之后,出现添加不上10.3模拟器,随后再使用Xcode8 打开原项目,出现报错。  Cannot find cdtool at '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Agents/cdtool':Cannot find a simulator runtime for platform <DVTPlatform:0x7fba02712030:'com.apple.platform.iphonesimulator':<DVTFilePath:0x7fba027124c0:'/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform'>>.

删除Xcode9 beta也不行,最后发现需要在 附图路径下,删除Xcode9 beta版本中下载的模拟器即可。走过的弯路,分享给大家。

阅读全文
0 0
原创粉丝点击