updated for XCode6-Beta4