diff --git a/cookiecutter.json b/cookiecutter.json
index 46c6748..1891354 100644
--- a/cookiecutter.json
+++ b/cookiecutter.json
@@ -6,13 +6,16 @@
"module_name": "{{ cookiecutter.app_name|replace('-', '_') }}",
"author": "Example Corporation",
"bundle": "com.example",
+ "info": "",
+ "entitlements": "",
+ "document_types": "",
"version": "1.0",
"build": "1",
- "document_types": {},
"python_version": "3.X.0",
"universal_build": true,
"host_arch": "arm64",
"_extensions": [
- "briefcase.integrations.cookiecutter.PythonVersionExtension"
+ "briefcase.integrations.cookiecutter.PythonVersionExtension",
+ "briefcase.integrations.cookiecutter.PListExtension"
]
}
diff --git a/{{ cookiecutter.format }}/{{ cookiecutter.class_name }}/Info.plist b/{{ cookiecutter.format }}/{{ cookiecutter.class_name }}/Info.plist
index 64fdc49..7823e53 100644
--- a/{{ cookiecutter.format }}/{{ cookiecutter.class_name }}/Info.plist
+++ b/{{ cookiecutter.format }}/{{ cookiecutter.class_name }}/Info.plist
@@ -83,5 +83,11 @@
{% endfor %}
{% endif %}
+{%- if cookiecutter.info -%}
+ {%- for permission, value in cookiecutter.info.items() %}
+ {{ permission }}
+ {{ value|plist_value }}
+ {%- endfor -%}
+{%- endif %}
diff --git a/{{ cookiecutter.format }}/{{ cookiecutter.class_name }}/{{ cookiecutter.app_name }}.entitlements b/{{ cookiecutter.format }}/{{ cookiecutter.class_name }}/{{ cookiecutter.app_name }}.entitlements
index 6883e4a..d7d79ec 100644
--- a/{{ cookiecutter.format }}/{{ cookiecutter.class_name }}/{{ cookiecutter.app_name }}.entitlements
+++ b/{{ cookiecutter.format }}/{{ cookiecutter.class_name }}/{{ cookiecutter.app_name }}.entitlements
@@ -2,9 +2,11 @@
- com.apple.security.cs.allow-unsigned-executable-memory
-
- com.apple.security.cs.disable-library-validation
-
+{%- if cookiecutter.entitlements -%}
+ {%- for entitlement, value in cookiecutter.entitlements.items() %}
+ {{ entitlement }}
+ {{ value|plist_value }}
+ {%- endfor -%}
+{%- endif %}