SMS is better than nothing, but even if we fixed SIM jacking, the problem is that it's sent over an unencrypted channel. Most cell phone networks are IP-based these days, so that means it's going unencrypted over the Internet. Nobody should be sending anything unencrypted anymore, and therefore SMS is not the ideal solution.
The best forms of 2FA are FIDO2/U2F security keys, because they send a digital signature instead of a secret and are bound to the site in question, and are therefore invulnerable to phishing. TOTP, while not possessing that property, at least has the benefit that the secret during setup and the codes are usually sent over an encrypted channel.
I also think it's naive to assume that phone companies being aware of it means that it's going to be fixed. Oftentimes, the people that actually perform the SIM swaps are relatively low paid and are bribed or cajoled by criminals to do the swap. As long as this remains a viable way for criminals to do this (that is, it is cost-effective to bribe or social-engineer the employees who have this access), it will continue to happen. Because most phone companies aren't experiencing significant negative consequences (e.g., legal liability, lost business, criminal prosecution) as a result of SIM swapping, there is little incentive for them to make the structural changes to avoid it, which will likely be expensive and inconvenient.