SwiftLintをインストールできずにいます。
何か手がかりがわかる方いらっしゃればご教示いただけますと幸いです。
実行文
% brew install swiftlint
エラー内容
Error: Cannot install in Homebrew on ARM processor in Intel default prefix (/usr/local)! Please create a new installation in /opt/homebrew using one of the "Alternative Installs" from: https://docs.brew.sh/Installation You can migrate your previously installed formula list with: brew bundle dump
brew --configの結果
M1 Mac 12.1-arm64 Homebrew 3.3.14 Homebrew Ruby: 2.6.8 Xcode: 13.2.1
where brewの結果
/usr/local/bin/brew
Homebrew (またはターミナル自体) を x86 モードで使ってるためでは。M1 Mac が出たばかりの頃はいろいろ動かないものがあってとりあえず x86 モードで動かすという記事がありましたが、今はたいていのものは M1 ネイティブで動くので、x86 モードで動かすのはむしろ害悪かと…。
回答2件
あなたの回答
tips
プレビュー