No longer have phone number for two step verification code
I had another iPhone XS Max. It ended up getting shattered. When it did I got another phone with service on it already so my other service just shut down. Well I tried to log into my apple account on my new device but I can’t because of two step authentication. It is sending my code I need to a number I no longer have. How do I get that code?