Hi folks! For anyone else looking into building the swift-distributed-actors
library, I found the following to work for me, but only using CLion:
- Set the Swift toolchain in CLion to the latest nightly one (for me that was 10-28)
- Remove the
.plugin
fromPackage.swift
in some other editor (NOT CLion) - Open the project in CLion, resolve the Swift package dependencies
- Close CLion
- Re-add the
.plugin
toPackage.swift
- Re-open the project in CLion, but DO NOT resolve Swift packages within CLion
- Add
DYLD_LIBRARY_PATH
to the run configuration - Build/Run tests
I suspect the reason this works is that CLion stores that it already resolved the dependencies inside the .idea
folder. Additionally, CLion invokes the build
command with the --skip-update
flag.