Updated for Xcode 5.1