3

enter image description here

When I am building Xcode 9.2 project, this error is getting. Can anyone help me on this.Thanks!

Heman hijack
  • 209
  • 3
  • 9
  • resolve your problem with other warnirngs... – Lu_ Sep 10 '18 at 08:06
  • 3
    that looks like a swiftlint error, do you have a swiftlint build phase? – Scriptable Sep 10 '18 at 08:15
  • yes, I have. I am using 0.16.1 version which was working earlier. today I am getting this error – Heman hijack Sep 10 '18 at 10:35
  • you can run `swiftlint` from the terminal from the project folder, you can also use `swiftlint autocorrect` which can fix some basic issues for you. otherwise, just correct the warnings you get when running swiftlint and then it should pass – Scriptable Sep 10 '18 at 12:05

1 Answers1

4

Shell Script Invocation Error referring the swift-lint errors here, which is due to the exceeding the maximum number of allowed warnings by swiftlint.

Either you have to resolve the warning, or you can increase the number of allowed warnings by swiftlint in swiftlint.yml by:

warning_threshold: 2000

For more reference you can visit visit-medium-blog

Ankit Jayaswal
  • 5,549
  • 3
  • 16
  • 36