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)
|
if (isiCloudPermissionsEnabled)
|
||||||
{
|
{
|
||||||
|
|
||||||
entitlements.set ("com.apple.developer.icloud-container-identifiers",
|
entitlements.set ("com.apple.developer.icloud-container-identifiers",
|
||||||
"<array>\n"
|
"<array>\n"
|
||||||
" <string>iCloud.$(CFBundleIdentifier)</string>\n"
|
"\t\t<string>iCloud." + projectBundlerIdentifierString.trim() + "</string>\n"
|
||||||
" </array>");
|
"\t</array>");
|
||||||
|
|
||||||
entitlements.set ("com.apple.developer.icloud-services",
|
entitlements.set ("com.apple.developer.icloud-services",
|
||||||
"<array>\n"
|
"<array>\n"
|
||||||
" <string>CloudDocuments</string>\n"
|
"\t\t<string>CloudDocuments</string>\n"
|
||||||
" </array>");
|
"\t</array>");
|
||||||
|
|
||||||
entitlements.set ("com.apple.developer.ubiquity-container-identifiers",
|
entitlements.set ("com.apple.developer.ubiquity-container-identifiers",
|
||||||
"<array>\n"
|
"<array>\n"
|
||||||
" <string>iCloud.$(CFBundleIdentifier)</string>\n"
|
"\t\t<string>iCloud." + projectBundlerIdentifierString.trim() + "</string>\n"
|
||||||
" </array>");
|
"\t</array>");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isPushNotificationsEnabled)
|
if (isPushNotificationsEnabled)
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,7 @@ namespace build_tools
|
||||||
bool isNetworkingMulticastEnabled = false;
|
bool isNetworkingMulticastEnabled = false;
|
||||||
|
|
||||||
String appGroupIdString;
|
String appGroupIdString;
|
||||||
|
String projectBundlerIdentifierString;
|
||||||
StringArray hardenedRuntimeOptions;
|
StringArray hardenedRuntimeOptions;
|
||||||
StringArray appSandboxOptions;
|
StringArray appSandboxOptions;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -242,7 +242,7 @@ public:
|
||||||
|
|
||||||
String getDevelopmentTeamIDString() const { return iosDevelopmentTeamIDValue.get(); }
|
String getDevelopmentTeamIDString() const { return iosDevelopmentTeamIDValue.get(); }
|
||||||
String getAppGroupIdString() const { return iosAppGroupsIDValue.get(); }
|
String getAppGroupIdString() const { return iosAppGroupsIDValue.get(); }
|
||||||
|
String getProjectBundlerIdentifierString() const { return project.getBundleIdentifierString(); }
|
||||||
String getBuildNumber() const
|
String getBuildNumber() const
|
||||||
{
|
{
|
||||||
const auto buildNumberString = buildNumber.get().toString();
|
const auto buildNumberString = buildNumber.get().toString();
|
||||||
|
|
@ -3146,6 +3146,7 @@ private:
|
||||||
options.isAppSandboxInhertianceEnabled = isAppSandboxInhertianceEnabled();
|
options.isAppSandboxInhertianceEnabled = isAppSandboxInhertianceEnabled();
|
||||||
options.isNetworkingMulticastEnabled = isNetworkingMulticastEnabled();
|
options.isNetworkingMulticastEnabled = isNetworkingMulticastEnabled();
|
||||||
options.appGroupIdString = getAppGroupIdString();
|
options.appGroupIdString = getAppGroupIdString();
|
||||||
|
options.projectBundlerIdentifierString = getProjectBundlerIdentifierString();
|
||||||
options.hardenedRuntimeOptions = getHardenedRuntimeOptions();
|
options.hardenedRuntimeOptions = getHardenedRuntimeOptions();
|
||||||
options.appSandboxOptions = getAppSandboxOptions();
|
options.appSandboxOptions = getAppSandboxOptions();
|
||||||
options.appSandboxTemporaryPaths = getAppSandboxTemporaryPaths();
|
options.appSandboxTemporaryPaths = getAppSandboxTemporaryPaths();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue