文章目录 问题背景解决方法 问题背景 报错如下: Error running playground: Failed to prepare for communication with playground 解决方法 重启Xcode,即可解决。