I'm having this issue too. It's a blocker for developing in Swift Playground, which I love. As other has stated, I tried enabling full disk access but the bug persists.
Swift Playground version 4.6.4 (1997.50)
Mac OS 26.1 (25B78)
MacBook Air M2
Topic:
Developer Tools & Services
SubTopic:
Swift Playground
Tags: