-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Description
New Issue Checklist
- Updated SwiftLint to the latest version
- I searched for existing GitHub issues
Describe the bug
Invoking swiftlint version on 0.49.0 produces an error:
dyld: Library not loaded: /usr/lib/swift/libswift_Concurrency.dylib Referenced from: /usr/local/bin/swiftlint Reason: image not found on macOS 10.15 and macOS 11. macOS 12 works fine though.
Complete output when running SwiftLint, including the stack trace and command used
n\a
Environment
We install swiftling using portable package via the installation script https://github.com/actions/runner-images/blob/main/images/macos/provision/core/swiftlint.sh
- Are you using nested configurations?
If so, paste their relative paths and respective contents. - Which Xcode version are you using (check
xcodebuild -version)? - Do you have a sample that shows the issue? Run
echo "[string here]" | swiftlint lint --no-cache --use-stdin --enable-all-rules
to quickly test if your example is really demonstrating the issue. If your example is more
complex, you can useswiftlint lint --path [file here] --no-cache --enable-all-rules.
// This triggers a violation:
let foo = try! bar()Metadata
Metadata
Assignees
Labels
No labels