build successfully with Xcode 6.0 beta 6.

build error fixed.