I am experiencing the same issue as you are. I granted Swift Playground full disk access as an online article suggested and restarted the app. But the problem persists.
Topic:
Developer Tools & Services
SubTopic:
Swift Playground
Tags: