I am building a Mac app with an embedded share extension and I am trying to configure app groups to share data between them. In Xcode under Capabilities, I turned on App Groups and set a single value: $(TeamIdentifierPrefix)com.company.App in both the parent app and in the share extension. When I run the parent app, it creates a folder: Library/Group Containers/com.company.App (without the team ID). When I run the extension it creates a folder:Library/Group Containers/TEAMID.com.company.App with the team ID.
Why do the two executables create different containers and how do I define the same container for both?