Change you SwiftLint script in your project to:
alias swiftlint="/opt/homebrew/bin/swiftlint"
if swiftlint >/dev/null; then
swiftlint
else
echo "warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint"
fi
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: