Objective c 如何让声纳扫描仪(Runner)找到objc插件

Objective c 如何让声纳扫描仪(Runner)找到objc插件,objective-c,sonarqube,Objective C,Sonarqube,目前,我正在为objective-c项目建立Sonarqube。 SonarQube:5.4(已加工) 声纳跑步者:2.8 目标C的声纳插件: 但当我试着为该项目运行sonar runner时,终端说: ERROR: Error during SonarQube Scanner execution ERROR: You must install a plugin that supports the language 'objc' ERROR: ERROR: Re-run SonarQube Sc

目前,我正在为objective-c项目建立Sonarqube。 SonarQube:5.4(已加工) 声纳跑步者:2.8 目标C的声纳插件:

但当我试着为该项目运行sonar runner时,终端说:

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

您能给我一些建议吗?

我不确定您使用的是哪个版本的SonarQube,但对于SonarQube 6.7版(最新版本),您可以从下载Objective-C插件并将其复制到:

SONAR_主页/扩展/插件/

在我的例子中,它是
/usr/local/ceral/sonaqube/6.7.1/libexec/extensions/plugins/

重新启动SonarQube服务器,就可以开始了


这是一个老问题,但我希望这对某人有所帮助。

几乎一样,只是你需要写“objc”而不是“ts”?我已经设置了objc!