Updated to run on Xcode 6 beta 3