I think Cobain pretty much hated everything, including himself. I doubt it was a personal dislike for McCartney, just what he represents, but who knows.
I'm still shocked how guys who can make great music together can hate each other so much. I guess it's like they say, the same passion you feel to make something beautiful can also make you hate more deeply.