1
0
Fork 0
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:
reuk 2025-06-03 15:43:46 +01:00
parent 6cd9566868
commit a2863e636f
No known key found for this signature in database
4 changed files with 25 additions and 0 deletions

View file

@ -152,6 +152,9 @@ namespace juce::build_tools
if (bluetoothPermissionEnabled)
addPlistDictionaryKey (*dict, "NSBluetoothAlwaysUsageDescription", bluetoothPermissionText);
if (localNetworkPermissionEnabled)
addPlistDictionaryKey (*dict, "NSLocalNetworkUsageDescription", localNetworkPermissionText);
if (iOS)
{
if (bluetoothPermissionEnabled)

View file

@ -65,6 +65,9 @@ namespace juce::build_tools
bool shouldAddStoryboardToProject = false;
String storyboardName;
bool localNetworkPermissionEnabled = false;
String localNetworkPermissionText;
File iconFile;
String projectName;
String marketingVersion;