Search code examples
testflightvisual-studio-app-centervisual-studio-app-center-distribute

Where can I enter my app specific password on appcenter.ms testflight integration?


With the new apple rule explained at https://developer.apple.com/support/account/authentication/:

In an effort to keep your account more secure, two-factor authentication will be required for Account Holders of a developer program to sign in to their Apple Developer account and Certificates, Identifiers & Profiles starting February 27, 2019. This extra layer of security for your Apple ID helps ensure that you're the only person who can access your account.

I am getting the following error when trying to publish my iOS app on the store through the CI at https://appcenter.ms :

{
  "mandatory_update": false,
  "release_notes": "feature/navigator profile (#467)",
  "destinations": [
    {
      "id": "678b39eb-7040-43ca-b903-REDACTED",
      "name": "App Store Connect Users",
      "message": "Failed to publish to store. Error: App specific password is mandatory for 2fa enabled account in service connection id: 5b1a378c-d7bc-4492-5ad6-REDACTED",
      "code": "app_specific_password_missing"
    }
  ],
  "code": "partially_succeeded",
  "message": "Failed to publish to store. Error: App specific password is mandatory for 2fa enabled account in service connection id: 5b1a378c-d7bc-4492-5ad6-REDACTED"
}

I have looked everywhere online and crawled around the different menus without finding anything of interest.

Do you know where I should enter my app-specific password?


Solution

  • You can follow the instructions here: https://learn.microsoft.com/en-us/appcenter/distribution/stores/apple#adding-two-factor-authentication

    Specifically:

    Adding Two-factor authentication

    If your Apple account has two-factor authentication enabled, App Store Connect requires an app-specific password as security. You can add an App-specific password to your account by navigating to Developer accounts in your Account settings.

    • Hover over an item in the Accounts list.
    • Click the three vertical dots on the right side of the list
    • Select Update app-specific password.
    • Generate an app-specific password using the Apple ID portal.
      • The name is for you to remember which service or app is using the app-specific password.
    • Copy the generated app-specific password and paste it into the dialogue.
    • Save by clicking Update.