Coherent UI  2.5.3
A modern user interface library for games
 All Classes Namespaces Functions Variables Enumerations Enumerator Pages
Enabling App Sandbox

If you wish to enable App Sandbox for an application with CoherentUI, you have to take the following steps:

  1. Sign libCoherentUI.dylib and the CoherentUI_Host executable with your code-signing certificate (and every other dynamic library you'd be using within your application).
  2. After enabling App Sandbox for the project from the Capabilities category for its target, enable "Outgoing connections" from the list of entitlements below it, then in the App Groups category from Capabilities add group name of your choice for the application.
  3. The application group name, specified in the latter point should be passed to the AppGroupName member of the Coherent::UI::FactorySettings instance upon initializing CoherentUI.
factorySettings.HostDirectory = COUI_HOST_PATH;
factorySettings.AppGroupName =
Coherent::UI::ViewContextFactory* contextFactory = InitializeCoherentUI(
COHERENT_UI_SDK_VER, COHERENT_KEY, factorySettings);
Note
Do NOT copy your HTML files for the UI resources in the executable package, because code-signing them fails.