From dbbf01989703acef2aae0f88ea00adf24f501921 Mon Sep 17 00:00:00 2001 From: stackotter Date: Thu, 3 Feb 2022 16:01:48 +1000 Subject: [PATCH] Document Info.plist customisation --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 357aa7c5..25cbead7 100644 --- a/README.md +++ b/README.md @@ -87,6 +87,22 @@ There are two ways to add custom app icons to a bundle project. If both are present, `AppIcon.icns` is used. +### Info.plist customization + +If you want to add extra key-value pairs to your apps Info.plist, you can add the following to `Bundle.json`: + +```json +{ + // ... + "extraInfoPlistEntries": { + "YourKey": "YourValue", + "YourArrayKey": ["YourFirstArrayEntry"] + } +} +``` + +If you provide a value for a key that is already present in the default Info.plist, the default value will be overidden with the value you provide. + ### Help If you want to see all available options just add `--help` to the end, (e.g. `swift bundler run --help`).