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:0x7fd67af0a930:'com.apple.platform.iphonesimulator':<DVTFilePath:0x7fd67af0a7c0:'/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform'>>.
尝鲜要付出代价的 我装了xcode9 beta版之后 打包出现了 以上错误信息,找度娘问了很久,也运行了下面的命令
sudo mkdir /Library/Developer/CoreSimulator/Profiles/Runtimes/Backup
sudo mv /Library/Developer/CoreSimulator/Profiles/Runtimes/{,Backup/}iOS\ 10.3.simruntime
sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService
问题仍然存在
现在我已经把9卸了 8也卸了 重装稳定版8中...不知道能不能解决
作者在使用Xcode 9 Beta版进行应用打包时遇到错误,提示无法找到模拟器运行时。尝试了一些解决方案如创建备份文件夹、移动模拟器运行时文件及重启CoreSimulator服务等,但问题仍未解决。
3094

被折叠的 条评论
为什么被折叠?



