2017-01-16 102 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服务器和你去好。

这是一个老问题,但我希望这可以帮助某人。