You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem:
The integration of SwiftLint into the Swinject Xcode project not working on Apple Silicon Macs if you installed SwiftLint via Homebrew.
This is from the README.md of "https://github.com/realm/SwiftLint":
If you installed SwiftLint via Homebrew on Apple Silicon, you might experience this warning:
That is because Homebrew on Apple Silicon installs the binaries into the /opt/homebrew/bin folder by default. To instruct Xcode where to find SwiftLint, you can either add /opt/homebrew/bin to the PATH environment variable in your build phase
if [[ "$(uname -m)" == arm64 ]]; then
export PATH="/opt/homebrew/bin:$PATH"
fi
if which swiftlint > /dev/null; then
swiftlint
else
echo "warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint"
fi
The text was updated successfully, but these errors were encountered:
Problem:
The integration of SwiftLint into the Swinject Xcode project not working on Apple Silicon Macs if you installed SwiftLint via Homebrew.
This is from the README.md of "https://github.com/realm/SwiftLint":
If you installed SwiftLint via Homebrew on Apple Silicon, you might experience this warning:
That is because Homebrew on Apple Silicon installs the binaries into the /opt/homebrew/bin folder by default. To instruct Xcode where to find SwiftLint, you can either add /opt/homebrew/bin to the PATH environment variable in your build phase
The text was updated successfully, but these errors were encountered: