Swift Xcode卡在了跑步场上

Swift Xcode卡在了跑步场上,swift,xcode,Swift,Xcode,因此,每次我尝试在操场上运行代码时,它都会抛出以下错误: Playground execution failed: error: /var/folders/1y/636dsz5d60s21x7j9h9517g4001lh5/T/playground3-6941f6..swift:3:37: error: expected ',' in #sourceLocation directive #sourceLocation(file: "MyPlayground".playground", line

因此,每次我尝试在操场上运行代码时,它都会抛出以下错误:

Playground execution failed:

error: /var/folders/1y/636dsz5d60s21x7j9h9517g4001lh5/T/playground3-6941f6..swift:3:37: error: expected ',' in #sourceLocation directive
#sourceLocation(file: "MyPlayground".playground", line: 1)
                                    ^    
error: /var/folders/1y/636dsz5d60s21x7j9h9517g4001lh5/T/playground3-6941f6..swift:3:48: error: unterminated string literal
#sourceLocation(file: "MyPlayground".playground", line: 1)

请帮帮我…

我在游乐场也遇到了同样的问题,问题是Xcode一直在与iCloud同步。 有时,由于故障行为或连接不良而导致“运行”受阻

请访问:

系统首选项-Apple ID-此Mac上使用iCloud的应用程序-iCloud驱动器-选项-然后取消选中“游乐场”

这个小把戏阻止同步并解决冻结的“运行”


有三个双引号。在您删除
.playde
之前的
后,它应该可以工作,因此它将成为
“myplayde.playde”
共享您的代码,以便帮助人们解决实际问题