Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Switching versions doesn't appear to work. #174

Open
shial4 opened this issue Jun 7, 2020 · 6 comments
Open

[BUG] Switching versions doesn't appear to work. #174

shial4 opened this issue Jun 7, 2020 · 6 comments

Comments

@shial4
Copy link

shial4 commented Jun 7, 2020

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
@kylef
Copy link
Owner

kylef commented Jun 7, 2020

Can you please share the output of the following:

$ which swift

$ env

@kylef
Copy link
Owner

kylef commented Jun 7, 2020

Have you followed all the installation steps for installing with homebrew? https://swiftenv.fuller.li/en/latest/installation.html#via-homebrew

@shial4
Copy link
Author

shial4 commented Jun 7, 2020

I have

@kylef
Copy link
Owner

kylef commented Jun 7, 2020

Does source ~/.bashrc or source ~/.bash_profile make this work? / What does your bash configuration look like?

@shial4
Copy link
Author

shial4 commented Jun 7, 2020

export PATH="$HOME/.fastlane/bin:$PATH"
if which swiftenv > /dev/null; then eval "$(swiftenv init -)"; fi

@shial4
Copy link
Author

shial4 commented Jun 7, 2020

of. Did move it out from being last lane and this seems to solve it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants