oclint: error: cannot find dynamic library for report type: text 发表于 2021-04-25 阅读次数: Valine: XCode 调试自定义规则时提示 12oclint: error: cannot find dynamic library for report type: textProgram ended with exit code: 2 添加符号断点后打印 reporterPath。对于目录下确实没有文件 12(lldb) po oclint::option::reporterPath()"/Users/yulintao/Code/oclint/oclint-xcodederiver/bin/Debug/../lib/oclint/reporters" 解决方式:手动拷贝 build 目录下的 oclint-release/lib 目录到上述目录中