-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Problem call from the Jenkins pipeline "undefined symbol: _T0SS10FoundationE11capitalizedSSfg" #2026
Comments
|
SwiftLint must have been compiled with a different version of Foundation than the (virtual) machine has (if any). Re‐install SwiftLint. |
|
@SDGGiesbrecht, thanks for your answer! By the way, Jenkins start SwiftLint on |
|
@ditansu, It is hard for me to tell from here exactly what is going on on your system. You will have to do some problem solving yourself. (That seems to be the nature of things on Linux. 😉) The following information may help you figure it out. The way Swift works:
For the Standard Library, there is a flag, A) There were bugs associated with it which may not have been fixed yet in version of Swift you are using. Applied to what you are doing: Due to one of the problems above, your installation of SwiftLint winds up dynamically linked to As long as you always build SwiftLint from scratch on the new (virtual) machine and never just copy it from a different one, the dynamic linking should never cause you any problems. (You will also need to rebuild SwiftLint any time you update Swift). |
|
Closing this due to lack of activity. |
New Issue Checklist
Bug Report
It's correct work if run in shell, but if start from Jenkins pipeline then get error
Complete output when running SwiftLint, including the stack trace and command used
Jenkins console
Jenkins config cut
Environment
0.24.2The text was updated successfully, but these errors were encountered: