I’m working on a project with my friend and we sometimes share the project zip file without Source Controllers like GitLab. When I get and rebuild the project I face the error: ${PODS_ROOT}/SwiftLint/swiftlint causes Command PhaseScriptExecution failed with a nonzero exit code
I tried to remove lint by uninstalling from pods but now I get this error:
/project_address/Pods/Target Support Files/SwiftLint/SwiftLint.debug.xcconfig: unable to open file (in target "SwiftLint" in project "Pods")
could some body help me find the solution? Thanks in advance
2
Answers
I finally figured it out. After doing all the steps above I removed "${PODS_ROOT}/SwiftLint/swiftlint" from "project settings/target/build phase/run script" and works like a charm.
.swiftlint.yml
extension from the directory that you are running SwiftLint from