We do not currently know of any antonyms for had affinities with.
For similar words to had affinities with, try: