mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-09 23:34:20 +00:00
Projucer: Allow setting NSLocalNetworkUsageDescription for Xcode exporter
This commit is contained in:
parent
6cd9566868
commit
a2863e636f
4 changed files with 25 additions and 0 deletions
|
|
@ -152,6 +152,9 @@ namespace juce::build_tools
|
|||
if (bluetoothPermissionEnabled)
|
||||
addPlistDictionaryKey (*dict, "NSBluetoothAlwaysUsageDescription", bluetoothPermissionText);
|
||||
|
||||
if (localNetworkPermissionEnabled)
|
||||
addPlistDictionaryKey (*dict, "NSLocalNetworkUsageDescription", localNetworkPermissionText);
|
||||
|
||||
if (iOS)
|
||||
{
|
||||
if (bluetoothPermissionEnabled)
|
||||
|
|
|
|||
|
|
@ -65,6 +65,9 @@ namespace juce::build_tools
|
|||
bool shouldAddStoryboardToProject = false;
|
||||
String storyboardName;
|
||||
|
||||
bool localNetworkPermissionEnabled = false;
|
||||
String localNetworkPermissionText;
|
||||
|
||||
File iconFile;
|
||||
String projectName;
|
||||
String marketingVersion;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue