update for Xcode 6