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

Projucer: Fix VST3 manifest generation when app sandbox is enabled

This commit is contained in:
reuk 2023-08-30 12:17:47 +01:00
parent 2cc3c3117d
commit 7b743c5356
No known key found for this signature in database
GPG key ID: FCB43929F012EE5C

View file

@ -1324,6 +1324,12 @@ public:
return type != VST3Helper && type != LV2Helper && owner.isHardenedRuntimeEnabled();
}
bool shouldUseAppSandbox() const
{
return type == Target::AudioUnitv3PlugIn
|| (type != VST3Helper && type != LV2Helper && owner.isAppSandboxEnabled());
}
//==============================================================================
String getTargetAttributes() const
{
@ -1345,7 +1351,7 @@ public:
&& owner.getProject().shouldEnableIAA())
|| owner.getProject().isAUPluginHost());
capabilities["Push"] = owner.isPushNotificationsEnabled();
capabilities["Sandbox"] = type == Target::AudioUnitv3PlugIn || owner.isAppSandboxEnabled();
capabilities["Sandbox"] = shouldUseAppSandbox();
capabilities["HardenedRuntime"] = shouldUseHardenedRuntime();
if (owner.iOS && owner.isiCloudPermissionsEnabled())
@ -1401,7 +1407,7 @@ public:
{
if (owner.isPushNotificationsEnabled()
|| owner.isAppGroupsEnabled()
|| owner.isAppSandboxEnabled()
|| shouldUseAppSandbox()
|| shouldUseHardenedRuntime()
|| owner.isNetworkingMulticastEnabled()
|| (owner.isiOS() && owner.isiCloudPermissionsEnabled())