To sign in a new Apple device or in a new web browser you are required to enter Apple account password with verification code. In general to secure your id as well as your Apple device the verification code is necessary which is received on your main device.
If you forgot your password for itunes and not able to reset the password read the blog here: to know procedure on How to Reset Apple iTunes Store Password. But if you are not able to verify your apple id on a new device or old device on a new browser or old browser follow the Methods listed below in the blog to solve the Apple verification code not working on Mac problem.
METHOD1: VERIFICATION CODE FROM TRUSTED DEVICE
Step1: Open your apple ID sign in page and enter your apple Id and password on your Mac.
Step2: In your trusted device a message is shown for sign in notification press allow.
Step3: The verification code will be received on trusted device.
Step4: Enter code and verify the device.
METHOD2: VERIFICATION CODE ON CALL OR MESSAGE
Step1: Press don’t get verification code button to receive verification code again.
Step2: Choose option to receive code on your trusted device on call or in message.
Step3: Type code and press enter or authenticate button.
METHOD3: VERIFICATION CODE IN SETTINGS
Step1: Open apple menu and navigate to system preferences.
Step2: Open password and security tab found inside.
Step3: Select icloud option and open account details.
Step4: When you are not connected to internet press get verification code button.
Step5: If connected to internet then press security option and click on get verification code.
If you are still facing the issue you can dial +1-888-488-2930 to get in touch with Apple customer support number for the best technical support available at the lowest possible cost. The problem with Apple verification code not working is solved by certified professionals to deal with technical issues you are facing with Verification.