Updated for Xcode 4.6