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
LLVM Profile Error: Failed to write file \"default.profraw\": Permission denied
Try setting CLANG_ENABLE_CODE_COVERAGE = NO in your build settings for the target being tested and the tests themselves.
CLANG_ENABLE_CODE_COVERAGE = NO
Edit: Please see the answer by @kasyanov-ms.