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

Projucer: Fix the type of the iokit sandbox exception in the Xcode exporter

This commit is contained in:
attila 2023-10-03 20:33:14 +02:00
parent f0d147a470
commit ef61128127
8 changed files with 197 additions and 42 deletions

View file

@ -123,6 +123,17 @@ namespace juce:: build_tools
paths += "\n\t</array>";
entitlements.set (option.key, paths);
}
if (! appSandboxExceptionIOKit.isEmpty())
{
String ioKitClasses = "<array>";
for (const auto& c : appSandboxExceptionIOKit)
ioKitClasses += "\n\t\t<string>" + c + "</string>";
ioKitClasses += "\n\t</array>";
entitlements.set ("com.apple.security.temporary-exception.iokit-user-client-class", ioKitClasses);
}
}
}

View file

@ -56,6 +56,7 @@ namespace juce::build_tools
};
std::vector<KeyAndStringArray> appSandboxTemporaryPaths;
StringArray appSandboxExceptionIOKit;
private:
StringPairArray getEntitlements() const;