[SWIFT] Simulator doesn't work: Unable to boot device because it cannot be located on disk.

The battle with Simulator continues

I have different versions of Simulator installed, It occupies a lot of storage and there is not enough storage. Trying to remove the old version Deleted by referring to this article. https://shinespark.hatenablog.com/entry/2018/03/10/090000

''' Delete unnecessary simulator version directories from / Library / Developer / CoreSimulator / Profiles / Runtimes. If you use rmtrash, wrap rm in single quotes and run it.

A directory is also created for each version in ~ / Library / Developer / Xcode / iOS DeviceSupport, so delete this as well. '''

Then I installed a new version I wanted to use.

This error continues and the Simulator doesn't come out because I did something strange somewhere. Unable to boot device because it cannot be located on disk.

Now see this article: https://blog.ukoasis.me/2019/01/21/unable-to-boot-device/

Simultor log file by running xcrun simctl erase all? Delete When I built it again, the Simulator worked.

Recommended Posts

Simulator doesn't work: Unable to boot device because it cannot be located on disk.
Simulator does not work: Unable to boot device due to insufficient system resources
Things to check when it doesn't work with proguard
What to do if TextToSpeech doesn't work on Android 11