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:
parent
2cc3c3117d
commit
7b743c5356
1 changed files with 8 additions and 2 deletions
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue