2017-01-16 97 views
0

目前,我正在建立Sonarqube for objective-c項目。 SonarQube:5.4(工作) 聲納亞軍:2.8 聲納插件目標C:https://github.com/octo-technology/sonar-objective-c如何使聲納掃描儀(轉輪)找到objc插件

但是當我嘗試運行該項目,然後終端說聲納亞軍:

ERROR: Error during SonarQube Scanner execution 
ERROR: You must install a plugin that supports the language 'objc' 
ERROR: 
ERROR: Re-run SonarQube Scanner using the -X switch to enable full debug logging. 
ERROR - Command 'sonar-runner ' failed with error code: 1 

您能給我有一些建議?

+0

http://stackoverflow.com/questions/30237547/sonarqube-typescript-plugin-you-must-install-a-plugin-that-supports-the-langua幾乎相同,除了你需要寫「objc 「而不是」ts「? – Larme

+0

我已經設置了objc! – haithngn

回答

0

我不知道你正在使用的SonarQube的版本,但對於SonarQube 6.7版本(最新的),你可以從here下載的Objective-C插件並將其複製到:

SONAR_HOME /擴展/插件/

對我來說,這是/usr/local/Cellar/sonarqube/6.7.1/libexec/extensions/plugins/

重新啓動SonarQube服務器和你去好。

這是一個老問題,但我希望這可以幫助某人。