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

SPM Bug: Xcode 134.1 100 % CPU usage with SwiftLintPlugin enabled #60

Closed
Kondamon opened this issue Sep 6, 2022 · 5 comments
Closed
Assignees
Labels
bug Something isn't working
Milestone

Comments

@Kondamon
Copy link
Contributor

Kondamon commented Sep 6, 2022

Platform Version

Any

SDK Version

1.7.0

Xcode Version

13.4.1 (13F100)

Steps To Reproduce

Embed the latest 1.7.0 in any bigger project and run project.

Xcode has over 100% usage as soon as the play button is being hit. Also restart of Xcode with project or restart of Mac and opening the project leads to 100% CPU usage. Xcode is extremely slow and doesn't show errors in the code anymore.

Expected Behavior

Version not affecting Xcode CPU usage.

Actual Incorrect Behavior

100% CPU usage when SDK is embedded in project.

@Kondamon Kondamon added the bug Something isn't working label Sep 6, 2022
@Kondamon
Copy link
Contributor Author

Kondamon commented Sep 7, 2022

Possibly related to swift.org forum , introduced with ed1187b .

@nashfive
Copy link

nashfive commented Sep 7, 2022

Hmm.. could it be caused by the 1.7.0 addition of the SwiftLintXcode plugin in the project ?

@nashfive
Copy link

nashfive commented Sep 7, 2022

@malcommac I was wondering if it was possible to do a 1.6.3 release with only the bugfixes that you've integrated in the 1.7.0?

@malcommac
Copy link
Collaborator

I'll release a major later tomorrow, temporarily disabling the plug-in until a fix is out (or most likely Xcode 14 became the de facto choice)

@malcommac malcommac changed the title [Bug]: Xcode 100 % CPU usage since 1.7.0 update SPM Bug: Xcode 134.1 100 % CPU usage with SwiftLintPlugin enabled Sep 9, 2022
@malcommac malcommac added this to the 1.7.1 milestone Sep 9, 2022
@malcommac malcommac self-assigned this Sep 9, 2022
@malcommac
Copy link
Collaborator

Released. I'll keep an eye on this bug in order to find a fix or workaround. Thanks for reporting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants