swiftenv
swiftenv copied to clipboard
[BUG] Switching versions doesn't appear to work.
swiftenv 1.4.0 installed via homebrew
Overriding swift toolchain with one of installed version by local or global doesn't seem to do anything even though
swiftevn points to toolchain
$ swiftenv local
wasm-DEVELOPMENT-SNAPSHOT-2020-06-02-a192-168-1-147:swift-ui-asm
but running command with swift says otherwise.
$ swift --version
Apple Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53)
Target: x86_64-apple-darwin19.4.0
Can you please share the output of the following:
$ which swift
$ env
Have you followed all the installation steps for installing with homebrew? https://swiftenv.fuller.li/en/latest/installation.html#via-homebrew
I have
Does source ~/.bashrc
or source ~/.bash_profile
make this work? / What does your bash configuration look like?
export PATH="$HOME/.fastlane/bin:$PATH" if which swiftenv > /dev/null; then eval "$(swiftenv init -)"; fi
of. Did move it out from being last lane and this seems to solve it