Browse Source

Projucer: Fix VST3 manifest generation when app sandbox is enabled

v7.0.9
reuk 2 years ago
parent
commit
7b743c5356
No known key found for this signature in database GPG Key ID: FCB43929F012EE5C
1 changed files with 8 additions and 2 deletions
  1. +8
    -2
      extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_Xcode.h

+ 8
- 2
extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_Xcode.h 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())


Loading…
Cancel
Save