OCLint代码静态分析问题

OCLint代码静态分析问题

oclint: error: one compiler command contains multiple jobs 错误解决

  1. 工程设置
    COMPILER_INDEX_STORE_ENABLE 全部设置成NO
OCLint代码静态分析问题_第1张图片
image
  1. Podfile添加
post_install do |installer|
    installer.pods_project.targets.each do |target|
        target.build_configurations.each do |config|
            config.build_settings['COMPILER_INDEX_STORE_ENABLE'] = "NO"
        end
    end
end

你可能感兴趣的:(OCLint代码静态分析问题)