A list of identifiers specifying the groups your app belongs to.
- iOS 3.0+
- macOS 10.7+
- tvOS 9.0+
- watchOS 2.0+
- array of strings
App groups allow multiple apps produced by a single development team to access shared containers and communicate using interprocess communication (IPC). Apps may belong to one or more app groups.
For iOS, format the identifier as follows:
Apps within an app group share access to a group container. For more information about container creation, location, and deletion, see
Apps within a group can communicate with other members in the group using IPC mechanisms including Mach IPC, POSIX semaphores and shared memory, and UNIX domain sockets. In macOS, use app groups to enable IPC communication between two sandboxed apps, or between a sandboxed app and a non-sandboxed app.
App groups also act as keychain access groups. For more information about the relationship between app groups and keychain access groups, see Sharing Access to Keychain Items Among a Collection of Apps.
To add this entitlement to your app, enable the App Groups capability in Xcode, and add the groups your app belongs to.