mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-09 23:34:20 +00:00
use projectBundlerIdentifier for icloud container name
This commit is contained in:
parent
4b7403549d
commit
6c4bb34e3b
3 changed files with 10 additions and 8 deletions
|
|
@ -54,20 +54,21 @@ namespace build_tools
|
|||
}
|
||||
if (isiCloudPermissionsEnabled)
|
||||
{
|
||||
|
||||
entitlements.set ("com.apple.developer.icloud-container-identifiers",
|
||||
"<array>\n"
|
||||
" <string>iCloud.$(CFBundleIdentifier)</string>\n"
|
||||
" </array>");
|
||||
"\t\t<string>iCloud." + projectBundlerIdentifierString.trim() + "</string>\n"
|
||||
"\t</array>");
|
||||
|
||||
entitlements.set ("com.apple.developer.icloud-services",
|
||||
"<array>\n"
|
||||
" <string>CloudDocuments</string>\n"
|
||||
" </array>");
|
||||
"\t\t<string>CloudDocuments</string>\n"
|
||||
"\t</array>");
|
||||
|
||||
entitlements.set ("com.apple.developer.ubiquity-container-identifiers",
|
||||
"<array>\n"
|
||||
" <string>iCloud.$(CFBundleIdentifier)</string>\n"
|
||||
" </array>");
|
||||
"\t\t<string>iCloud." + projectBundlerIdentifierString.trim() + "</string>\n"
|
||||
"\t</array>");
|
||||
}
|
||||
|
||||
if (isPushNotificationsEnabled)
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ namespace build_tools
|
|||
bool isNetworkingMulticastEnabled = false;
|
||||
|
||||
String appGroupIdString;
|
||||
|
||||
String projectBundlerIdentifierString;
|
||||
StringArray hardenedRuntimeOptions;
|
||||
StringArray appSandboxOptions;
|
||||
|
||||
|
|
|
|||
|
|
@ -242,7 +242,7 @@ public:
|
|||
|
||||
String getDevelopmentTeamIDString() const { return iosDevelopmentTeamIDValue.get(); }
|
||||
String getAppGroupIdString() const { return iosAppGroupsIDValue.get(); }
|
||||
|
||||
String getProjectBundlerIdentifierString() const { return project.getBundleIdentifierString(); }
|
||||
String getBuildNumber() const
|
||||
{
|
||||
const auto buildNumberString = buildNumber.get().toString();
|
||||
|
|
@ -3146,6 +3146,7 @@ private:
|
|||
options.isAppSandboxInhertianceEnabled = isAppSandboxInhertianceEnabled();
|
||||
options.isNetworkingMulticastEnabled = isNetworkingMulticastEnabled();
|
||||
options.appGroupIdString = getAppGroupIdString();
|
||||
options.projectBundlerIdentifierString = getProjectBundlerIdentifierString();
|
||||
options.hardenedRuntimeOptions = getHardenedRuntimeOptions();
|
||||
options.appSandboxOptions = getAppSandboxOptions();
|
||||
options.appSandboxTemporaryPaths = getAppSandboxTemporaryPaths();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue