Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swiftlint is breaking SwiftUI Previews when used as plugin in SPM package. #5693

Open
2 tasks done
agruchala opened this issue Jul 24, 2024 · 1 comment
Open
2 tasks done
Labels
discussion Topics that cannot be categorized as bugs or enhancements yet. They require further discussions. integration Issues related to integration of SwiftLint into toolchains.

Comments

@agruchala
Copy link

New Issue Checklist

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.

@SimplyDanny
Copy link
Collaborator

This does rather sound like an issue of SwiftUI Previews than an issue of SwiftLint.

@SimplyDanny SimplyDanny added discussion Topics that cannot be categorized as bugs or enhancements yet. They require further discussions. integration Issues related to integration of SwiftLint into toolchains. labels Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Topics that cannot be categorized as bugs or enhancements yet. They require further discussions. integration Issues related to integration of SwiftLint into toolchains.
Projects
None yet
Development

No branches or pull requests

2 participants