now compiles using Xcode6 beta 6