Add App Group container path(s) to `simctl`

Originator:gunnar.herzog
Number:rdar://25848627 Date Originated:21-Apr-2016 09:21 AM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 7.3.x
Classification: Reproducible:
 
Summary:
Currently the `simctl` CLI can output the path of an app's sandbox (`xcrun simctl get_app_container <device> <bundle identifier>`) but lacks the ability to print the app's App Group container(s). 
Please add a subcommand like `xcrun simctl list_app_group_containers <device> <bundle identifier>` printing out all App Group containers of the given app. These App Groups are configured on the Capabilities tab in the app's Project Settings in Xcode.

Steps to Reproduce:
1. Open Terminal
2. run `xcrun simctl`
3. There is no subcommand like `list_app_group_containers`


Expected Results:
A subcommand like `list_app_group_containers` exists.

Actual Results:
There is no subcommand like `list_app_group_containers`.

Version:
Xcode 7.3.x

Notes:
In SimPholders (https://simpholders.com) the App Group containers are shown when using ⌘ + ⌥ + Click. Until Xcode 7.2 the App Groups were read from the app's `.com.apple.mobile_container_manager.metadata.plist` file which contained a MCMMetadataInfo tag containing the app groups. This behavior has changed with Xcode 7.3. The file does not have this information anymore. Therefore this SimPholder's feature is broken since Xcode 7.3!

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!