美文网首页iOS老中医
Use the device manager in Xcode

Use the device manager in Xcode

作者: 杂货铺学徒 | 来源:发表于2018-01-16 18:28 被阅读158次

今天清理Xcode缓存之后,运行项目提示这样的错误

Use the device manager in Xcode or the simctl command line tool to either delete the device properly or erase contents and settings.

这是因为在清理Xcode缓存的时候,把模拟器的配置不小心删除了
解决方法:

  • 打开Xcode -> Open Developer Tool -> iOS simulator
  • Hardware -> Device -> Manage Devices

把模拟器全部删除,然后添加你想用的模拟器加回来。不需要重新下载模拟器

相关文章

网友评论

    本文标题:Use the device manager in Xcode

    本文链接:https://www.haomeiwen.com/subject/tikeoxtx.html