詳細
clang: error: linker command failed with exit code 1 (use -v to see invocation) error: command 'clang' failed with exit status 1
と怒られてた。
やったこと
xcodeのアップデート
->改善せず
追加のcomponentsのinstall
xcodeを起動した時にpop upが出て、追加のcomponentsをinstallしますか?
と出たもの
->改善せず
環境変数の追加
export LDFLAGS="-L/usr/local/opt/openssl/lib" export CPPFLAGS="-I/usr/local/opt/openssl/include"
->installできました。
パスが通ってなかったことが原因みたい。
参照:https://teratail.com/questions/214631