Reply to Failed to create temporary staging dir We faced this recently and the problem was one of our tests was clearing the Cache directory. The solution was to run the test in a host application so the cache directory was for the application instead of the simulator itself. Developer Tools & Services Xcode Nov ’24