Skip to content

Cannot make script 'run-sonar-swift' works #289

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

Open
naveen-kp-clt opened this issue Apr 25, 2021 · 1 comment
Open

Cannot make script 'run-sonar-swift' works #289

naveen-kp-clt opened this issue Apr 25, 2021 · 1 comment

Comments

@naveen-kp-clt
Copy link

When i run ./run-sonar-swift.sh -v

am getting following error and i have already installed slather using gem install slather

\nComputing coverage report\n
Command line exclusion flags for slather is:
slather coverage --binary-basename SonarDemoApp --input-format profdata --cobertura-xml --output-directory sonar-reports --workspace SonarDemoApp.xcworkspace --scheme SonarDemoApp SonarDemoApp.xcodeproj

  • slather coverage --binary-basename SonarDemoApp --input-format profdata --cobertura-xml --output-directory sonar-reports --workspace SonarDemoApp.xcworkspace --scheme SonarDemoApp SonarDemoApp.xcodeproj
    ./run-sonar-swift.sh: line 101: slather: command not found
  • returnValue=127
  • set +x
    ERROR - Command 'slather coverage --binary-basename SonarDemoApp --input-format profdata --cobertura-xml --output-directory sonar-reports --workspace SonarDemoApp.xcworkspace --scheme SonarDemoApp SonarDemoApp.xcodeproj' failed with error code: 127
@ChitraP4C
Copy link

How did you resolved it?
I am getting exactly same error

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

No branches or pull requests

2 participants