diff --git a/fastlane/testflight.md b/fastlane/testflight.md index 4bf34af2a..3a43679bd 100644 --- a/fastlane/testflight.md +++ b/fastlane/testflight.md @@ -115,16 +115,27 @@ This step validates most of your six Secrets and provides error messages if it d 1. On the right side, click "Run Workflow", and tap the green `Run workflow` button. 1. Wait, and within a minute or two you should see a green checkmark indicating the workflow succeeded. -## Create App Group +## Create Loop App Group -If you have already built Loop via Xcode using this Apple ID, you can skip on to [Add App Group to Bundle Identifiers](#add-app-group-to-bundle-identifiers). +If you have already built xDrip4iOS via Xcode using this Apple ID, you can skip on to [Add App Groups to Bundle Identifiers](#add-app-groups-to-bundle-identifiers). + +If you have already built Loop via Xcode using this Apple ID, you can skip on to [Create Trio App Group](#create-trio-app-group). 1. Go to [Register an App Group](https://developer.apple.com/account/resources/identifiers/applicationGroup/add/) on the apple developer site. 1. For Description, use "Loop App Group". 1. For Identifier, enter "group.com.TEAMID.loopkit.LoopGroup", subsituting your team id for `TEAMID`. 1. Click "Continue" and then "Register". -## Add App Group to Bundle Identifiers +## Create Trio App Group + +If you have already built Trio or xDrip4iOS via Xcode using this Apple ID, you can skip on to [Add App Groups to Bundle Identifiers](#add-app-groups-to-bundle-identifiers). + +1. Go to [Register an App Group](https://developer.apple.com/account/resources/identifiers/applicationGroup/add/) on the apple developer site. +1. For Description, use "Trio App Group". +1. For Identifier, enter "group.org.nightscout.TEAMID.trio.trio-app-group", subsituting your team id for `TEAMID`. +1. Click "Continue" and then "Register". + +## Add App Groups to Bundle Identifiers Note 1 - If you previously built with Xcode, the `Names` listed below may be different, but the `Identifiers` will match. A table is provided below the steps to assist. The Add Identifier Action that you completed above generates 6 identifiers, but only 4 need to be modified as indicated in this step. @@ -138,7 +149,8 @@ Note 2 - Depending on your build history, you may find some of the Identifiers a * xDrip Watch Complication Extension 1. Click on the identifier's name. 1. On the "App Groups" capabilies, click on the "Configure" button. -1. Select the "Loop App Group" _(yes, "Loop App Group" is correct)_ +1. Select the "Loop App Group". _(yes, "Loop App Group" is correct)_ +1. For "xdripswift", also add the "Trio App Group" in addition to the "Loop App Group". 1. Click "Continue". 1. Click "Save". 1. Click "Confirm".