Add teamid
This commit is contained in:
parent
0b84bd0f43
commit
bff363c9b2
|
|
@ -15,6 +15,7 @@
|
||||||
"ios_provisioning_profile": "",
|
"ios_provisioning_profile": "",
|
||||||
"ios_export_method": "",
|
"ios_export_method": "",
|
||||||
"ios_export_options": {},
|
"ios_export_options": {},
|
||||||
|
"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 }}",
|
||||||
"kotlin_dir": "{{ cookiecutter.org_name.replace('.', cookiecutter.sep) }}{{ cookiecutter.sep }}{{ cookiecutter.package_name }}{{ cookiecutter.sep }}",
|
"kotlin_dir": "{{ cookiecutter.org_name.replace('.', cookiecutter.sep) }}{{ cookiecutter.sep }}{{ cookiecutter.package_name }}{{ cookiecutter.sep }}",
|
||||||
"base_url": "/",
|
"base_url": "/",
|
||||||
|
|
|
||||||
|
|
@ -362,6 +362,9 @@
|
||||||
CLANG_ENABLE_MODULES = YES;
|
CLANG_ENABLE_MODULES = YES;
|
||||||
CODE_SIGN_STYLE = Manual;
|
CODE_SIGN_STYLE = Manual;
|
||||||
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
|
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
|
||||||
|
{% if cookiecutter.ios_team_id %}
|
||||||
|
DEVELOPMENT_TEAM = "{{ cookiecutter.ios_team_id }}";
|
||||||
|
{% 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 %}
|
||||||
|
|
@ -544,6 +547,9 @@
|
||||||
CLANG_ENABLE_MODULES = YES;
|
CLANG_ENABLE_MODULES = YES;
|
||||||
CODE_SIGN_STYLE = Manual;
|
CODE_SIGN_STYLE = Manual;
|
||||||
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
|
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
|
||||||
|
{% if cookiecutter.ios_team_id %}
|
||||||
|
DEVELOPMENT_TEAM = "{{ cookiecutter.ios_team_id }}";
|
||||||
|
{% 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 %}
|
||||||
|
|
@ -570,6 +576,9 @@
|
||||||
CLANG_ENABLE_MODULES = YES;
|
CLANG_ENABLE_MODULES = YES;
|
||||||
CODE_SIGN_STYLE = Manual;
|
CODE_SIGN_STYLE = Manual;
|
||||||
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
|
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
|
||||||
|
{% if cookiecutter.ios_team_id %}
|
||||||
|
DEVELOPMENT_TEAM = "{{ cookiecutter.ios_team_id }}";
|
||||||
|
{% 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,6 +9,10 @@
|
||||||
<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 %}
|
||||||
|
<key>teamID</key>
|
||||||
|
<string>{{ cookiecutter.ios_team_id }}</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