Added "ios_signing_certificate" var
This commit is contained in:
parent
bff363c9b2
commit
4e230bace5
|
|
@ -14,6 +14,7 @@
|
||||||
"bundle_id": "{{ cookiecutter.bundle_id if 'bundle_id' in cookiecutter else cookiecutter.org_name + '.' + cookiecutter.project_name }}",
|
"bundle_id": "{{ cookiecutter.bundle_id if 'bundle_id' in cookiecutter else cookiecutter.org_name + '.' + cookiecutter.project_name }}",
|
||||||
"ios_provisioning_profile": "",
|
"ios_provisioning_profile": "",
|
||||||
"ios_export_method": "",
|
"ios_export_method": "",
|
||||||
|
"ios_signing_certificate": "",
|
||||||
"ios_export_options": {},
|
"ios_export_options": {},
|
||||||
"ios_team_id": "",
|
"ios_team_id": "",
|
||||||
"package_name": "{{ cookiecutter.bundle_id.rsplit('.', 1)[-1].replace('-', '_') if 'bundle_id' in cookiecutter else cookiecutter.project_name }}",
|
"package_name": "{{ cookiecutter.bundle_id.rsplit('.', 1)[-1].replace('-', '_') if 'bundle_id' in cookiecutter else cookiecutter.project_name }}",
|
||||||
|
|
|
||||||
|
|
@ -365,6 +365,9 @@
|
||||||
{% if cookiecutter.ios_team_id %}
|
{% if cookiecutter.ios_team_id %}
|
||||||
DEVELOPMENT_TEAM = "{{ cookiecutter.ios_team_id }}";
|
DEVELOPMENT_TEAM = "{{ cookiecutter.ios_team_id }}";
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if cookiecutter.ios_signing_certificate %}
|
||||||
|
CODE_SIGN_IDENTITY = "{{ cookiecutter.ios_signing_certificate }}";
|
||||||
|
{% endif %}
|
||||||
{% if cookiecutter.ios_provisioning_profile %}
|
{% if cookiecutter.ios_provisioning_profile %}
|
||||||
PROVISIONING_PROFILE_SPECIFIER = "{{ cookiecutter.ios_provisioning_profile }}";
|
PROVISIONING_PROFILE_SPECIFIER = "{{ cookiecutter.ios_provisioning_profile }}";
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
@ -550,6 +553,9 @@
|
||||||
{% if cookiecutter.ios_team_id %}
|
{% if cookiecutter.ios_team_id %}
|
||||||
DEVELOPMENT_TEAM = "{{ cookiecutter.ios_team_id }}";
|
DEVELOPMENT_TEAM = "{{ cookiecutter.ios_team_id }}";
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if cookiecutter.ios_signing_certificate %}
|
||||||
|
CODE_SIGN_IDENTITY = "{{ cookiecutter.ios_signing_certificate }}";
|
||||||
|
{% endif %}
|
||||||
{% if cookiecutter.ios_provisioning_profile %}
|
{% if cookiecutter.ios_provisioning_profile %}
|
||||||
PROVISIONING_PROFILE_SPECIFIER = "{{ cookiecutter.ios_provisioning_profile }}";
|
PROVISIONING_PROFILE_SPECIFIER = "{{ cookiecutter.ios_provisioning_profile }}";
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
@ -579,6 +585,9 @@
|
||||||
{% if cookiecutter.ios_team_id %}
|
{% if cookiecutter.ios_team_id %}
|
||||||
DEVELOPMENT_TEAM = "{{ cookiecutter.ios_team_id }}";
|
DEVELOPMENT_TEAM = "{{ cookiecutter.ios_team_id }}";
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if cookiecutter.ios_signing_certificate %}
|
||||||
|
CODE_SIGN_IDENTITY = "{{ cookiecutter.ios_signing_certificate }}";
|
||||||
|
{% endif %}
|
||||||
{% if cookiecutter.ios_provisioning_profile %}
|
{% if cookiecutter.ios_provisioning_profile %}
|
||||||
PROVISIONING_PROFILE_SPECIFIER = "{{ cookiecutter.ios_provisioning_profile }}";
|
PROVISIONING_PROFILE_SPECIFIER = "{{ cookiecutter.ios_provisioning_profile }}";
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
||||||
|
|
@ -9,10 +9,17 @@
|
||||||
<key>{{ cookiecutter.bundle_id }}</key>
|
<key>{{ cookiecutter.bundle_id }}</key>
|
||||||
<string>{{ cookiecutter.ios_provisioning_profile }}</string>
|
<string>{{ cookiecutter.ios_provisioning_profile }}</string>
|
||||||
</dict>
|
</dict>
|
||||||
|
|
||||||
{% if cookiecutter.ios_team_id %}
|
{% if cookiecutter.ios_team_id %}
|
||||||
<key>teamID</key>
|
<key>teamID</key>
|
||||||
<string>{{ cookiecutter.ios_team_id }}</string>
|
<string>{{ cookiecutter.ios_team_id }}</string>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if cookiecutter.ios_signing_certificate %}
|
||||||
|
<key>signingCertificate</key>
|
||||||
|
<string>{{ cookiecutter.ios_signing_certificate }}</string>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% macro render_dict(d) -%}
|
{% macro render_dict(d) -%}
|
||||||
{% for key, value in d.items() -%}
|
{% for key, value in d.items() -%}
|
||||||
<key>{{ key }}</key>
|
<key>{{ key }}</key>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue