Error running playground. Unable to find suitable target device. (iOS Swift)

前端 未结 5 821
清歌不尽
清歌不尽 2020-12-30 06:24

I created a new project in XCode.

File > New > Playground (option+shift+cmd+N)

\"enter

5条回答
  •  礼貌的吻别
    2020-12-30 06:39

    From the developer forums, this worked for me:

    1. Quit Xcode
    2. Delete the folder /Users//Library/Developer/CoreSimulator/Devices. For example, in Terminal: rm -rf ~/Library/Developer/CoreSimulator/Devices
    3. In Terminal: killall -9 com.apple.CoreSimulator.CoreSimulatorService (or just reboot).

提交回复
热议问题