SwiftLint
SwiftLint copied to clipboard
Swiftlint is breaking SwiftUI Previews when used as plugin in SPM package.
New Issue Checklist
- [x] Updated SwiftLint to the latest version
- [x] I searched for existing GitHub issues
Describe the bug
Swiftlint is breaking SwiftUI Previews when used as plugin in SPM package.
When Swiftlint is added as plugin to package, previews engine generates this error:
== PREVIEW UPDATE ERROR:
HumanReadableSwiftError
BuildError: failedToGenerateThunkInfo(could not generate preview info: noTargetBuildGraph)
Without plugin, previews works fine.
This does rather sound like an issue of SwiftUI Previews than an issue of SwiftLint.