0 Replies
      Latest reply on Mar 11, 2019 3:54 PM by stevebay
      stevebay Level 1 Level 1 (0 points)

        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?