Can't log into my Apple ID on my MAC
I am trying to sing in with my Apple ID on my MAC. I had to change the password but I am unable to sign in because it is sending me the six digit code to an iPhone I no longer own. I currently don't own any other apple products besides my MAC, so I use the two-factor authentication with my phone number. Even though I removed said iPhone from my account (on web browser), I still am unable to sign in. Once I type my ID and password it tells me that the code has been sent to my "trusted device", which should be my phone number, but I don't get a text (which I do get if I'm logging in through the icloud.com website). I am running on OS X Yosemite and will not be upgrading the OS, since I won't be able to use some software I have installed if I do. Anyone else had a similar problem? I'd appreciate any help.
Thanks!