xcode6beta6 compatibility