I cannot seem to get Bitrise to accept my Apple Developer account. I have tried to Connect it, but it fails at the 2FA stage. I can confirm that the user account, password and the code received by SMS are all being entered properly.
Currently if you receive the code on your phone with an SMS message, authentication can fail. Please try and receive the code on a trusted device using iCloud. You should get an interactive session that will include a map, you will need to select “allow” and you will then receive the 6-digit authentication code.
To read about more this and see a video of what it looks like, click here.
You can refer to Apple documentation for instructions on setting up 2FA using trusted devices.