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

Cloud9999Strife picture Cloud9999Strife · Nov 7, 2017 · Viewed 15.8k times · Source

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 is trying to write this file to.

What folder should I grant permissions for?

Answer

kasyanov-ms picture kasyanov-ms · Feb 1, 2018

Had this warning when I forgot to enable code coverage:

enter image description here