每次我在 playground 中运行代码时,都会抛出以下错误:
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)
请帮助我...
.playground
前面的"
之后,它应该可以正常工作,这样它就会变成"MyPlayground.playground"
。 - Nasir