When running unit tests for a second+ time, we often run into:
"Failed to create temporary staging dir in <PATH_TO_SIMULATOR>/data/Library/Caches/com.apple.mobile.installd.staging"
If we delete derived data, it always works the first run, but then fails on subsequent runs.
Something in Xcode is deleting the directory it needs. Has anyone else seen this and found a solution?