ios - 在 mac 机器上运行 Sonar 扫描仪时出错

标签 ios sonarqube sonarqube-scan

我已经在我的 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/

相关文章:

gradle - Gradle/Jacoco/SonarQube问题

ios - 创建随机数的类实例 - Swift

ios - 成员(member)资格到期后的临时分布式应用程序

iOS/objective-C : How can I mix delegation and blocks?

database - 无法使用 Postgresql 将 JDBC 连接到 sonarqube

mysql - SonarQube : How to reduce size of measures_data. ibd?

gradle - 无法从插件 'cobertura' 注册扩展 org.sonar.plugins.cobertura.CoberturaSensor

swift - Sonar 报告包含 0 个错误和漏洞

SonarQube for MSBuild - 结束分析失败

ios - 从 firebase 下载的图像无法正确缩放,并且直到在表格 View 单元格上滚动后才显示