1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

add iCloud support for macos

This commit is contained in:
jonathan schatz 2023-02-15 10:32:26 -08:00
parent d037d45e3b
commit 4b7403549d
No known key found for this signature in database
GPG key ID: 58400CD5D506B554
2 changed files with 21 additions and 21 deletions

View file

@ -51,7 +51,7 @@ namespace build_tools
{
if ((isAudioPluginProject && shouldEnableIAA) || isAUPluginHost)
entitlements.set ("inter-app-audio", "<true/>");
}
if (isiCloudPermissionsEnabled)
{
entitlements.set ("com.apple.developer.icloud-container-identifiers",
@ -69,7 +69,6 @@ namespace build_tools
" <string>iCloud.$(CFBundleIdentifier)</string>\n"
" </array>");
}
}
if (isPushNotificationsEnabled)
entitlements.set (isiOS ? "aps-environment"

View file

@ -612,11 +612,12 @@ public:
props.add (new ChoicePropertyComponent (iosAppGroupsValue, "App Groups Capability"),
"Enable this to grant your app the capability to share resources between apps using the same app group ID.");
}
props.add (new ChoicePropertyComponent (iCloudPermissionsValue, "iCloud Permissions"),
"Enable this to grant your app the capability to use native file load/save browser windows on iOS.");
}
iOS ? "Enable this to grant your app the capability to use native file load/save browser windows on iOS." :
"Enable this to grant your app the capability to use iCloud Document Storage");
props.add (new ChoicePropertyComponent (networkingMulticastValue, "Networking Multicast Capability"),
"Your app must have this entitlement to send or receive IP multicast or broadcast. "
@ -1323,7 +1324,7 @@ public:
capabilities["Sandbox"] = type == Target::AudioUnitv3PlugIn || owner.isAppSandboxEnabled();
capabilities["HardenedRuntime"] = owner.isHardenedRuntimeEnabled();
if (owner.iOS && owner.isiCloudPermissionsEnabled())
if (owner.isiCloudPermissionsEnabled())
capabilities["com.apple.iCloud"] = true;
StringArray capabilitiesStrings;