LLVM Profile Error: Failed to write file “default.profraw”: Permission denied

后端 未结 6 933
鱼传尺愫
鱼传尺愫 2021-01-31 06:57

I\'m getting the error LLVM Profile Error: Failed to write file \"default.profraw\": Permission denied after running unit tests in Xcode. I don\'t know where Xcode

6条回答
  •  不思量自难忘°
    2021-01-31 07:33

    Try setting CLANG_ENABLE_CODE_COVERAGE = NO in your build settings for the target being tested and the tests themselves.

    Edit: Please see the answer by @kasyanov-ms.

提交回复
热议问题