Recently I got all of my applications spam on Google Analytics as in picture:

all spam from Macintosh, which is not possible because this is an Android App.
I saw this post: Google Analytics Spam on Mobile - App Not Released
but I don't see any relevant answer.
does anyone know how to remove spam?
You can simply select a new checkbox option which would be included in the view level of the management user interface. This option would be labeled "Exclude traffic from known bots and spiders".
See: Guide