# Xcode 模拟器运行报错 Unable to boot device because it cannot be located on disk.

**URL:** https://www.shiqidu.com/t/topic/690
**Category:** 开发调优
**Tags:** Swift
**Created:** [2020 年2 月 28 日 13:58 UTC](https://www.shiqidu.com/t/topic/690 "2020-02-28T13:58:36Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### 作者： ![Eureka](https://www.shiqidu.com/user_avatar/www.shiqidu.com/eureka/32/5_2.png) [@Eureka](https://www.shiqidu.com/u/Eureka)
#### 发布日期： [2020 年2 月 28 日 13:58 UTC](https://www.shiqidu.com/t/topic/690/1 "2020-02-28T13:58:36Z")

</div>

运行项目报错 Unable to boot device because it cannot be located on disk. Domain: NSPOSIXErrorDomain

解决方法

终端执行以下命令

```shell
xcrun simctl erase all

```
