问题

在第一次打开xcode的时候编写代码,然后运行的时候报这个错误

The LLDB RPC server has crashed. The crash log is located in ~/Library/Logs/DiagnosticReports and has a prefix 'lldb-rpc-server'. Please file a bug and attach the most recent crash log.

解决办法

把命令行的xcrun swift关闭之后,然后重新建了一个playground进行运行解决了这个问题,

反思

新建一次,然后关闭掉其他地方有影响的程序,看来是解决问题的一种很好的思路