{"_id":"590a04f9ed80861900cbc7be","version":{"_id":"590a04f2ed80861900cbc737","project":"55b2d5baa74a380d00e290c4","__v":4,"createdAt":"2017-05-03T16:27:30.085Z","releaseDate":"2017-05-03T16:27:30.085Z","categories":["590a04f3ed80861900cbc738","590a04f3ed80861900cbc739","590a04f3ed80861900cbc73a","590a04f3ed80861900cbc73b","590a04f3ed80861900cbc73c","590a04f3ed80861900cbc73d","590a04f3ed80861900cbc73e","590a04f3ed80861900cbc73f","590a04f3ed80861900cbc740","590a04f3ed80861900cbc741","590a04f3ed80861900cbc742","590a04f3ed80861900cbc743","590a04f3ed80861900cbc744","590a04f3ed80861900cbc745","590a04f3ed80861900cbc746","590a04f3ed80861900cbc747","590a04f3ed80861900cbc748","590a04f3ed80861900cbc749","590a04f3ed80861900cbc74a","590a04f3ed80861900cbc74b","590a04f3ed80861900cbc74c","590a04f3ed80861900cbc74d","59124949de13f61900336a7a","5914b04e7c2c552d008b7104","5914b47242c6a22300b9dc20"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"7.0.0","version":"7"},"category":{"_id":"590a04f3ed80861900cbc748","version":"590a04f2ed80861900cbc737","project":"55b2d5baa74a380d00e290c4","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-09-30T19:22:34.349Z","from_sync":false,"order":18,"slug":"integrations-and-notifications","title":"Integrations and Notifications"},"project":"55b2d5baa74a380d00e290c4","__v":0,"user":"55b2d5626862a10d00887af9","parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2017-01-13T13:53:52.942Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"settings":"","results":{"codes":[]},"auth":"required","params":[],"url":""},"isReference":false,"order":1,"body":"Connecting your Apple Developer Portal account to buddybuild allows you to:\n\n* [Automatically sync your Provisioning Profiles](doc:apple-developer-portal-sync)\n* [Upload specific builds to iTunes Connect and TestFlight](doc:itunesconnect)\n\nIn order to enable this integration, buddybuild will require your Apple Developer Portal credentials. If you're using two factor authentication for your Apple Developer Account, follow this guide to connect your account: \n\nGet started by clicking on **App Settings**.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/bc86708-Builds_-_Settings.png\",\n        \"Builds - Settings.png\",\n        1500,\n        483,\n        \"#ecf1f2\"\n      ]\n    }\n  ]\n}\n[/block]\nIn the left navigation, select **Integrations**, then **Apple Developer Portal**.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/c3bf4a3-Settings_-_Apple_Developer_-_menu.png\",\n        \"Settings - Apple Developer - menu.png\",\n        1500,\n        800,\n        \"#2983d3\"\n      ]\n    }\n  ]\n}\n[/block]\nNext, select **Connect New Apple Account.** \n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/69d2041-Settings_-_Apple_Developer.png\",\n        \"Settings - Apple Developer.png\",\n        1500,\n        800,\n        \"#2877b8\"\n      ],\n      \"sizing\": \"full\"\n    }\n  ]\n}\n[/block]\nEnter your Apple ID and password, then select **Store Credentials.** \n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/8129748-Settings_-_Apple_Developer_-_credentials.png\",\n        \"Settings - Apple Developer - credentials.png\",\n        1500,\n        800,\n        \"#d4d9db\"\n      ]\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"title\": \"App-Specific Password\"\n}\n[/block]\nSince your iTunes Connect account is protected by [Two-Factor Authentication](https://support.apple.com/en-ca/HT204915) or [Two-Step Verification](https://support.apple.com/en-ca/HT204152), you will now receive a verification code on your device, which you will need to enter in buddybuild.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/fcbd8e0-Settings_-_Apple_Developer_-_2FA.png\",\n        \"Settings - Apple Developer - 2FA.png\",\n        1500,\n        630,\n        \"#d1d7d9\"\n      ]\n    }\n  ]\n}\n[/block]\nYou also need to enter an [App-Specific Password](https://support.apple.com/en-us/HT204397) before deploying your app to iTunes Connect. Here's how to create an App-Specific Password:\n\nLog in to your [Apple ID account](https://appleid.apple.com/).  In the **Security** section, under **App-Specific Passwords**, click on **Generate Password** \n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/f9647bf-Settings_-_Apple_Developer_-_apple_account.png\",\n        \"Settings - Apple Developer - apple account.png\",\n        1500,\n        392,\n        \"#d1d2d2\"\n      ],\n      \"caption\": \"\"\n    }\n  ]\n}\n[/block]\nLabel the password and click **Create**.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/417cc4c-Settings_-_Apple_Developer_-_generate_password.png\",\n        \"Settings - Apple Developer - generate password.png\",\n        1500,\n        542,\n        \"#d7d9db\"\n      ]\n    }\n  ]\n}\n[/block]\nCopy the resulting password.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/4913e72-Settings_-_Apple_Developer_-_app_specific_password.png\",\n        \"Settings - Apple Developer - app specific password.png\",\n        1500,\n        542,\n        \"#dedfdf\"\n      ]\n    }\n  ]\n}\n[/block]\nPaste the password into buddybuild and click **Continue**.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/ab3de84-Settings_-_Apple_Developer_-_app-specific_password_field.png\",\n        \"Settings - Apple Developer - app-specific password field.png\",\n        1500,\n        691,\n        \"#d6dde0\"\n      ]\n    }\n  ]\n}\n[/block]\nYou can now deploy your app to iTunes Connect using the app-specific password you just generated.\n[block:api-header]\n{\n  \"title\": \"Re-authenticating your Apple Account\"\n}\n[/block]\nThe verification codes Apple provides for Two-Factor Authentication and Two-Step Verification are valid for **30 days**. You will need to provide a new code every 30 days to continue using your Apple account in buddybuild.  \n\nBuddybuild will send you an email before the code expires to remind you to re-authenticate. You will also be reminded to re-authenticate in the buddybuild dashboard. \n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/3e97237-Settings_-_Apple_Developer_-_2FA_prompt.png\",\n        \"Settings - Apple Developer - 2FA prompt.png\",\n        1500,\n        691,\n        \"#34576c\"\n      ]\n    }\n  ]\n}\n[/block]\nHere's how to re-authenticate your Apple account:\n\n- Click on the email link or on warning banner from the dashboard. A new verification code will be sent to your device\n- Enter the new code in the dashboard\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/61ad897-Settings_-_Apple_Developer_-_2FA_reenter.png\",\n        \"Settings - Apple Developer - 2FA reenter.png\",\n        1500,\n        691,\n        \"#525e6a\"\n      ]\n    }\n  ]\n}\n[/block]\nThat's it! You're Apple Account is now connected to buddybuild. You will be notified when it's time to re-authenticate!","excerpt":"","slug":"apple-account-with-two-factor-authentication","type":"basic","title":"Using an Apple Account with Two-Factor Authentication"}

Using an Apple Account with Two-Factor Authentication


Connecting your Apple Developer Portal account to buddybuild allows you to: * [Automatically sync your Provisioning Profiles](doc:apple-developer-portal-sync) * [Upload specific builds to iTunes Connect and TestFlight](doc:itunesconnect) In order to enable this integration, buddybuild will require your Apple Developer Portal credentials. If you're using two factor authentication for your Apple Developer Account, follow this guide to connect your account: Get started by clicking on **App Settings**. [block:image] { "images": [ { "image": [ "https://files.readme.io/bc86708-Builds_-_Settings.png", "Builds - Settings.png", 1500, 483, "#ecf1f2" ] } ] } [/block] In the left navigation, select **Integrations**, then **Apple Developer Portal**. [block:image] { "images": [ { "image": [ "https://files.readme.io/c3bf4a3-Settings_-_Apple_Developer_-_menu.png", "Settings - Apple Developer - menu.png", 1500, 800, "#2983d3" ] } ] } [/block] Next, select **Connect New Apple Account.** [block:image] { "images": [ { "image": [ "https://files.readme.io/69d2041-Settings_-_Apple_Developer.png", "Settings - Apple Developer.png", 1500, 800, "#2877b8" ], "sizing": "full" } ] } [/block] Enter your Apple ID and password, then select **Store Credentials.** [block:image] { "images": [ { "image": [ "https://files.readme.io/8129748-Settings_-_Apple_Developer_-_credentials.png", "Settings - Apple Developer - credentials.png", 1500, 800, "#d4d9db" ] } ] } [/block] [block:api-header] { "title": "App-Specific Password" } [/block] Since your iTunes Connect account is protected by [Two-Factor Authentication](https://support.apple.com/en-ca/HT204915) or [Two-Step Verification](https://support.apple.com/en-ca/HT204152), you will now receive a verification code on your device, which you will need to enter in buddybuild. [block:image] { "images": [ { "image": [ "https://files.readme.io/fcbd8e0-Settings_-_Apple_Developer_-_2FA.png", "Settings - Apple Developer - 2FA.png", 1500, 630, "#d1d7d9" ] } ] } [/block] You also need to enter an [App-Specific Password](https://support.apple.com/en-us/HT204397) before deploying your app to iTunes Connect. Here's how to create an App-Specific Password: Log in to your [Apple ID account](https://appleid.apple.com/). In the **Security** section, under **App-Specific Passwords**, click on **Generate Password** [block:image] { "images": [ { "image": [ "https://files.readme.io/f9647bf-Settings_-_Apple_Developer_-_apple_account.png", "Settings - Apple Developer - apple account.png", 1500, 392, "#d1d2d2" ], "caption": "" } ] } [/block] Label the password and click **Create**. [block:image] { "images": [ { "image": [ "https://files.readme.io/417cc4c-Settings_-_Apple_Developer_-_generate_password.png", "Settings - Apple Developer - generate password.png", 1500, 542, "#d7d9db" ] } ] } [/block] Copy the resulting password. [block:image] { "images": [ { "image": [ "https://files.readme.io/4913e72-Settings_-_Apple_Developer_-_app_specific_password.png", "Settings - Apple Developer - app specific password.png", 1500, 542, "#dedfdf" ] } ] } [/block] Paste the password into buddybuild and click **Continue**. [block:image] { "images": [ { "image": [ "https://files.readme.io/ab3de84-Settings_-_Apple_Developer_-_app-specific_password_field.png", "Settings - Apple Developer - app-specific password field.png", 1500, 691, "#d6dde0" ] } ] } [/block] You can now deploy your app to iTunes Connect using the app-specific password you just generated. [block:api-header] { "title": "Re-authenticating your Apple Account" } [/block] The verification codes Apple provides for Two-Factor Authentication and Two-Step Verification are valid for **30 days**. You will need to provide a new code every 30 days to continue using your Apple account in buddybuild. Buddybuild will send you an email before the code expires to remind you to re-authenticate. You will also be reminded to re-authenticate in the buddybuild dashboard. [block:image] { "images": [ { "image": [ "https://files.readme.io/3e97237-Settings_-_Apple_Developer_-_2FA_prompt.png", "Settings - Apple Developer - 2FA prompt.png", 1500, 691, "#34576c" ] } ] } [/block] Here's how to re-authenticate your Apple account: - Click on the email link or on warning banner from the dashboard. A new verification code will be sent to your device - Enter the new code in the dashboard [block:image] { "images": [ { "image": [ "https://files.readme.io/61ad897-Settings_-_Apple_Developer_-_2FA_reenter.png", "Settings - Apple Developer - 2FA reenter.png", 1500, 691, "#525e6a" ] } ] } [/block] That's it! You're Apple Account is now connected to buddybuild. You will be notified when it's time to re-authenticate!