realm / SwiftLint

A tool to enforce Swift style and conventions.
https://realm.github.io/SwiftLint
MIT License
18.59k stars 2.22k forks source link

Failure PhaseScriptExecution Swiftlint #5486

Open daljeet16 opened 6 months ago

daljeet16 commented 6 months ago

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

SimplyDanny commented 6 months ago

Please provide your build script.

daljeet16 commented 6 months ago

Here is Build Script: Script-8571282F2B96E3BA00CF1389.txt

SimplyDanny commented 6 months ago

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 commented 6 months ago

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 commented 6 months ago

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