updated for Xcode 6 beta 7