To spit in your dream, signifies an aspect of yourself that you need to get rid of.

Alternatively, spitting may represent anger and contempt.

If someone spits on you in your dream, you may feel ashamed or guilty about something that you have done, or the way you acted in a situation.