We do not currently know of any antonyms for hits it off with.
For similar words to hits it off with, try: