Swift Playgrounds not updating automatically on macOS [duplicate]
问题 This question already has answers here : Xcode: Any way to refresh/re-run the playground? (7 answers) Closed 2 years ago . I have several Swift playgrounds on my machine that aren't updating automatically. I can manually select "Run Playground" from the Editor menu, which runs what's in the playground at that time, but it never updates when I type new code. I've tried clearing the compilation cache in "$(getconf DARWIN_USER_CACHE_DIR)/org.llvm.clang.$(whoami)/ModuleCache" , restarting Xcode,