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

Failure PhaseScriptExecution Swiftlint #5486

Open
daljeet16 opened this issue Mar 5, 2024 · 5 comments
Open

Failure PhaseScriptExecution Swiftlint #5486

daljeet16 opened this issue Mar 5, 2024 · 5 comments

Comments

@daljeet16
Copy link

daljeet16 commented Mar 5, 2024

I am using swiftlint version 0.54.0 and updated Xcode to 15.2 version
Facing issue while building on Jenkins machine: Here is the error:

The following build commands failed:
PhaseScriptExecution Swiftlint
/Users/administrator/.jenkins/workspace/derivedData/Build/Intermediates.noindex/ArchiveIntermediates//Script-8571282F2B96E3BA00CF1389.sh
(1 failure)

We tried on the downgrade versions as well like 0.53.0, 0.52.4. But issue remain the same

Environment

  • SwiftLint version (run swiftlint version to be sure)?
    0.54.0

  • Installation method used ()?
    CocoaPods

  • Paste your configuration file:
    The path in the run script
    "${PODS_ROOT}/SwiftLint/swiftlint"

  • Which Xcode version are you using (check xcodebuild -version)?
    15.2

@SimplyDanny
Copy link
Collaborator

Please provide your build script.

@daljeet16
Copy link
Author

daljeet16 commented Mar 6, 2024

Here is Build Script:
Script-8571282F2B96E3BA00CF1389.txt

@SimplyDanny
Copy link
Collaborator

You need to check what the actual error is. A generic "script failed" is not helpful.

Make sure that PODS_ROOT is set correctly.

@daljeet16
Copy link
Author

PODS_ROOT is set correctly, I double checked. Same was working fine in Xcode version 14.++
Let me know If can share to anything else to fix this

@SimplyDanny
Copy link
Collaborator

One cannot help without a real error reported by the script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants