Duplicate iPhone Simulators Appeared on My Xcode

后端 未结 3 1337
梦毁少年i
梦毁少年i 2020-12-24 14:20

A duplicate iPhone simulator just appeared after I deleted ~/Library/Developer/Xcode/CoreSimulator folder

3条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-24 14:27

    I have a same issue after installing Xcode beta version. I found that there are several solution to fix this issue.

    1. snapshot

    https://github.com/fastlane/fastlane/tree/master/snapshot

    usage : gem install fastlane; fastlane snapshot reset_simulators

    I solved my problem with this library and it is very simple to use.

    2. Xcode->Window->Devices

    You can check installed simulators and delete them. But it will take too long time if you have many simulators.

    3. xcrun simctl delete

    you can use xcrun command in terminal. But you need to input a specific device name with command.

提交回复
热议问题