Problem: When running the Playground file, it gets stuck as shown in the figure below, and it keeps running.![Insert picture description here](https://img-blog.csdnimg.cn/20201112153300415.png#pic_center)
solution:
1. First close Xcode
Close it directly or enter the following statement in the terminal command line to close
killall Xcode
2. End the simulator process
sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService
3. Delete the existing simulator, including all installed applications
rm -rf ~/Library/Developer/CoreSimulator/Devices