gpt4 book ai didi

ios - 规则“OCLint:访问者或初始化外部的ivar分配”不存在

转载 作者:行者123 更新时间:2023-12-01 17:07:53 25 4
gpt4 key购买 nike

我正在尝试集成SonarQube以生成有关iOS project的报告,

我正在使用Objective-C Sonar plugin

当我运行./run-sonar.shOCLint在我的根目录中生成一个compile_commands.json文件。

然后出现以下错误

11:24:39.782 INFO  - Processing OCLint report /Users/.......app/./sonar-reports/oclint.xml
11:24:39.899 ERROR - Reporting 1073 violations.
INFO: ------------------------------------------------------------------------
INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
Total time: 16.240s
Final Memory: 6M/86M
INFO: ------------------------------------------------------------------------
ERROR: Error during Sonar runner execution
org.sonar.runner.impl.RunnerException: Unable to execute Sonar
at org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:91)
at org.sonar.runner.impl.BatchLauncher$1.run(BatchLauncher.java:75)
at java.security.AccessController.doPrivileged(Native Method)
at org.sonar.runner.impl.BatchLauncher.doExecute(BatchLauncher.java:69)
at org.sonar.runner.impl.BatchLauncher.execute(BatchLauncher.java:50)
at org.sonar.runner.api.EmbeddedRunner.doExecute(EmbeddedRunner.java:102)
at org.sonar.runner.api.Runner.execute(Runner.java:100)
at org.sonar.runner.Main.executeTask(Main.java:70)
at org.sonar.runner.Main.execute(Main.java:59)
at org.sonar.runner.Main.main(Main.java:53)
Caused by: The rule 'OCLint:ivar assignment outside accessors or init' does not exist.

谁能在这个问题上帮助我?
谢谢
AMR

恶作剧

最佳答案

我有一个类似的错误。我的声纳服务器有两个Objective-C代码分析器插件。 Sonar Plugin for Objective C (free)SonarSource Objective-C plugin (commercial)

当我从声纳服务器上删除(卸载)插件之一时,错误停止发生

关于ios - 规则“OCLint:访问者或初始化外部的ivar分配”不存在,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25279044/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com