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

Plug-in ended with uncaught signal: 2) #4848

Open
2 tasks done
cianiandreadev opened this issue Mar 30, 2023 · 11 comments
Open
2 tasks done

Plug-in ended with uncaught signal: 2) #4848

cianiandreadev opened this issue Mar 30, 2023 · 11 comments
Labels
help Questions or user problems that require more explanation rather than code changes.

Comments

@cianiandreadev
Copy link

New Issue Checklist

Describe the bug

I am using Xcode 14.3 with Swiftlint version 0.51.0 configured as Xcode plugin
I followed the instruction in the readme but when I try to compile I have the following issue:

MicrosoftTeams-image

I tried to clean derived data, close xcode, restart mac etc... Running out of ideas.

Using an Intel-based Mac, Ventura 13.2.1 (22D68)

NOTE: Same configuration (same commit), same OS, with a colleague using M1 Mac is working (don't know if the issue is related to M1 macs tho. I am saying this just as additional information.

Complete output when running SwiftLint, including the stack trace and command used

No output

Environment

  • SwiftLint version (run swiftlint version to be sure)? 0.51.0
  • Installation method used (Homebrew, CocoaPods, building from source, etc)? Xcode Plugin

Tried both WITH or WITHOUT a .swiftlint.yml

  • Which Xcode version are you using (check xcodebuild -version)?
    Xcode 14.3
    Build version 14E222b
@edorphy
Copy link

edorphy commented Mar 31, 2023

I have been seeing my Xcode Cloud builds fail with exit code 2 from SwiftLint against 0.51.0. When I build locally, no errors. Triggering a new XC build or two it doesn't repeat.

@cianiandreadev
Copy link
Author

Hi @edorphy .
This is in my local machine. I tried many times and it's always deterministic. I just can't build anymore the app.

@cameronehrlich
Copy link

@cianiandreadev did you find a solution to this? A college of mine seems to have come across the same issue.

@cianiandreadev
Copy link
Author

@cianiandreadev did you find a solution to this? A college of mine seems to have come across the same issue.

Unfortunately not yet ☹️

@cameronehrlich
Copy link

@cianiandreadev a temporary work around that worked for us is to downgrade to 0.49.0

@RobertDresler
Copy link

Same 😞

@petomuro
Copy link

petomuro commented May 3, 2023

Try this #1466 (comment). It helped me. I had a similar problem (Plug-in ended with uncaught signal: 5)).

@SimplyDanny SimplyDanny added the help Questions or user problems that require more explanation rather than code changes. label May 19, 2023
@lisavo7
Copy link

lisavo7 commented Jul 21, 2023

I also have this issue. I integrated version 0.52.4 on Xcode 14.3.1 (14E300c), Ventura 13.4.1, and 2023 M2 Max.

@petomuro
Copy link

petomuro commented Jul 21, 2023

I also have this issue. I integrated version 0.52.4 on Xcode 14.3.1 (14E300c), Ventura 13.4.1, and 2023 M2 Max.

Did you try #4848 (comment)? If that doesn't help you, try to downgrade to version 0.51.0

My configuration:

  • SwiftLint version 0.51.0
  • Xcode 14.3.1 (14E300c)
  • Ventura 13.4.1
  • M2 Max 2023

and everything works without any problems.

@lisavo7
Copy link

lisavo7 commented Jul 21, 2023

@petomuro I just tried it and it works! I didn't realize that comment fit my use case until I took a better look at my build logs. Thank you!

@petomuro
Copy link

@petomuro I just tried it and it works! I didn't realize that comment fit my use case until I took a better look at my build logs. Thank you!

@lisavo7 good to hear! You are welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help Questions or user problems that require more explanation rather than code changes.
Projects
None yet
Development

No branches or pull requests

7 participants