NSFileManager error messages lie

from blog The Desolation of Blog, | ↗ original
I wasted at least an hour debugging what I incorrectly assumed was a Mac app sandboxing issue, because I believed what the NSFileManager error told me. Below is the source code of a command-line tool to demonstrate the issue. #import #define SourcePath @"/Library/Receipts/InstallHistory.plist" #define DestinationPath...