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
Cleaning my build folder eliminated the error for me. (Option-Shift-Command K.) I'm using Xcode Version 9.2 (9C40b). The error started when I added a set of images to my Assets.xcassets. After a full clean the error is gone.