add xcode6 support