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:
parent
f0d147a470
commit
ef61128127
8 changed files with 197 additions and 42 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -56,6 +56,7 @@ namespace juce::build_tools
|
|||
};
|
||||
|
||||
std::vector<KeyAndStringArray> appSandboxTemporaryPaths;
|
||||
StringArray appSandboxExceptionIOKit;
|
||||
|
||||
private:
|
||||
StringPairArray getEntitlements() const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue