Building an iOS Binary with App Groups Entitlement
Configure App Groups and build correctly
This document describes the process for configuring App Groups and rebuilding an iOS binary that uses the App Groups entitlement.
All configuration steps are performed in the Apple Developer Portal.
Prerequisites
- An active Apple Developer account
- Access to the App ID configuration in the Apple Developer Portal
- The bundle identifiers for:
- The main application (e.g.,
com.example.app) - Any extensions (e.g.,
com.example.app.ShareExtension)
- The main application (e.g.,
App Group Configuration
A. Create an App Group
This creates the App Group.
- Go to the Apple Developer Portal > Identifiers https://developer.apple.com/account/resources/identifiers
- Select App Groups.

Apple Developer Portal - App Groups
- Click + to create a new App Group.
- Enter a Description and an Identifier - the identifier must start with group. (e.g. group.com.company.app)

App Group Registration
- Click Continue, then Register.
B. Enable App Groups for the Main Application
- In Identifiers, select App IDs.

Apple Developer Portal - App IDs
- Locate and select the main application’s bundle identifier (e.g.
com.example.app). - Scroll to the Capabilities section and enable App Groups.

App Group Enablement
- Click Configure, select the App Group created in Section A.

App Group Selection
C. Enable App Groups for Extensions
-
Repeat the steps in Section B for each extension that requires access to the shared container (for example,
com.example.app.ShareExtension).Important: Every target that uses shared data must have the same App Group enabled in its App ID configuration.
D. Regenerate Provisioning Profiles and Build
After enabling the App Group capability:
- Go to your Median App and regenerate the provisioning profile

Provision Profile regeneration
- Rebuild the iOS binary
Verification Checklist
Before distributing the build, confirm:
-
The App Group identifier begins with
group. -
The App Group is enabled for all relevant App IDs
-
Provisioning profiles were regenerated after enabling the capability
Updated about 2 hours ago