Anti-tourist movement in Barcelona is a minority, mainly from extreme-left parties and activists from Catalan nationalist parties. I live in Barcelona, and I'm ashamed of those xenophobic acts. My guess is that over 90% of Barcelona population don't endorse such xenophobic attitude.
Despite being affected personally, e.g. because of tourism flat rental makes generic rental to have huge price increases (15% year to year increase (!)), I'm not against tourism, because tourism also means less unemployment, and most people having a better situation. Also, having people from around the world willing to visit the city where I live is amazing, and I'm very proud of it. Being Spain still recovering from the long, huge, and terrible financial and housing bubble crisis since 2007, I'm terrified with those radicals blaming the tourists for a problem that should be fixed by local rulers.
In my opinion, the major of Barcelona city (not the province), Mrs Ada Colau (former radical-left activist) should put her efforts into increasing housing offer, so the demand-offer reaches a reasonable equilibrium (e.g. fiscal discounts for empty flats put in the rental market, fiscal discounts for building flats in former industrial places that are like ghost neighborhoods, etc.).
From my side, you're very welcome to visit Barcelona as tourist, as worker, or as whatever you want while you do more good than harm :-)