That's less and less true. And of those who actually moved to Barcelona, some already left (and companies too) when the independentists started being openly hostile to anything non-catalan.
Why someone with the means to do what is called "geographical arbitrage" would pick Barcelona is totally beyond me.