Hi,
We have an executable that we're trying to test using a snapshot toolchain on mac OS. The exact command we're using looks as below -
/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2023-09-24-a.xctoolchain/usr/bin/swift run
We need to use the swift-stdlib from the snapshot toolchain, instead of the system swift-stdlib that comes with mac OS. But it looks like that is not happening and I know it because the snapshot toolchain's stdlib has certain fixes whose effects we're not seeing.
I saw a very similar forum post here where multiple solutions have been prescribed but none of them works for us.
- Set
DYLD_LIBRARY_PATH
. - Pass
-toolchain-stdlib-rpath
toswiftc
Has anyone tackled and resolved this issue more recently?