我已经在我的 mac 机器上安装了最新版本的 sonarqube 7.0 并尝试配置我的 iOS Swift 项目。
运行命令 sonar-scanner 时出现以下错误
ERROR: Error during SonarQube Scanner execution
ERROR: org/sonar/api/measures/PersistenceMode
ERROR: Caused by: org.sonar.api.measures.PersistenceMode
ERROR:
ERROR: Re-run SonarQube Scanner using the -X switch to enable full debug logging.
ERROR - Command 'sonar-scanner ' failed with error code: 1
注意:使用最新的插件backelite-sonar-swift-plugin-0.3.5.jar
最佳答案
以上问题在下面的链接中有一个快速修复, https://github.com/Hugal31/sonar-swift/tree/fix/persistence-mode
下载插件并替换为旧版本。它可能对您有所帮助。
关于ios - 在 mac 机器上运行 Sonar 扫描仪时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49876261/