build successfully with Xcode beta 6.