I am unable to run even the simplest of Swift Playgrounds. It's as if the fundamental libraries are missing, but in Xcode I am able to build and run SwiftUI applications.
From the main screen under More Playgrounds I click on the App template and before I make any changes it tries to build and fails as per screenshot, with errors such as
"Could not build Objective-C module 'SwiftUI'"
"Could not build module 'Application Services'"
Mac OS 12.6.2
Xcode 14.2
Playgrounds 4.1
I have to revise my statement above.
I was able to solve the problem by uninstalling Playgrounds completely and then reinstalling it. Unfortunately, I can't explain what the problem was with the first uninstall. The only difference in my second attempt was that I both backed up and then deleted all my Playgrounds and uninstalled it in an administrative (a different) account.