Yeah, and then Franco came in with more guns and Catalonia lived under fascism for the next 50 years. You can (and should) resist with violence if needed, but there's a limit to what a small group can do in the face of an organised military that doesn't care about who they kill.
Replaced by a central, non-anarchist government, with a royalty, which is still opposing Catalan independence. And even though the party in charge is called socialist, they're not challenging capitalism because they know how that ends.