Xcode 5.0 and 5.1 support

I still have occasional Xcode issues which can be fixed by nuking DerivedData, so I think this is still useful.