Problem description
I am unable to execute code as simple as print("test")
when I create a Swift REPL.
Expected behavior
The REPL should print “test”.
Actual behavior
Execution is failing because the module ‘SwiftShims’ is missing.
<unknown>:0: error: PCH was compiled with module cache path '/home/runner/Swift/.cache/clang/ModuleCache/QS0TP6CXX1XV', but the path is currently '/home/runner/IcyGreedyArguments/.cache/clang/ModuleCache/QS0TP6CXX1XV'
<unknown>:0: error: missing required module 'SwiftShims'
Steps to reproduce
- Create a Swift REPL
- Add any valid Swift code into the REPL and Run it
- See the missing module failure in the Console output
Browser
Safari
OS
macOS
Device if mobile
n/a
Plan
Free Tier