realm / SwiftLint

A tool to enforce Swift style and conventions.
https://realm.github.io/SwiftLint
MIT License
18.45k stars 2.2k forks source link

SwiftLint fails using Xcode 16 beta command line tools #5635

Closed emawby closed 1 week ago

emawby commented 1 week ago

New Issue Checklist

Describe the bug

Fatal error when running SwiftLint using Xcode 16 beta CLI tools

Complete output when running SwiftLint, including the stack trace and command used
$ swiftlint lint
SourceKittenFramework/library_wrapper.swift:58: Fatal error: Loading sourcekitdInProc.framework/Versions/A/sourcekitdInProc failed
[1]    72585 trace trap  swiftlint

Environment

Switching to Xcode 15 tools fixed the issue

SimplyDanny commented 1 week ago

The Command-line Tools are not sufficient. You need to install Xcode.