Reply to Command EmitSwiftModule failed with a nonzero exit code I believe you should go to Xcode and create new Swift Playgrounds App project, not a playground author template. Developer Tools & Services Xcode Apr ’22