Re: Why would creating NSItemReplacementDirectory fail?

2015-06-24 Thread Ken Thomases
On Jun 24, 2015, at 3:39 PM, Jens Alfke j...@mooseyard.com wrote: Anyone know what would cause NSFileManager (on OS X 10.10) to fail to create an NSItemReplacementDirectory? We’re using this call to create a temporary directory to save an intermediate file into, and it works fine on iOS and

Re: Why would creating NSItemReplacementDirectory fail?

2015-06-24 Thread Jens Alfke
Never mind, I figured it out by running fs_usage to watch what was going on. There were already 1000 of those “(A Document Being Saved By xctest %d)” directories in the TemporaryItems directory, so apparently it gave up. The underlying problem is that our code isn’t deleting those temporary

Why would creating NSItemReplacementDirectory fail?

2015-06-24 Thread Jens Alfke
Anyone know what would cause NSFileManager (on OS X 10.10) to fail to create an NSItemReplacementDirectory? We’re using this call to create a temporary directory to save an intermediate file into, and it works fine on iOS and Mac … except for right now, when it’s started reliably failing on my