Xcode wart.

This was duplicated in the `tree-contents` pull request I made some time ago.
Merge pull request #216 from tiennou/xcode-wart

Xcode wart.