exportOptions.plist
This commit is contained in:
parent
be51d58931
commit
b4d68b4de2
|
|
@ -12,6 +12,9 @@
|
|||
"sep": "/",
|
||||
"hide_loading_animation": true,
|
||||
"bundle_id": "{{ cookiecutter.bundle_id if 'bundle_id' in cookiecutter else cookiecutter.org_name + '.' + cookiecutter.project_name }}",
|
||||
"ios_provisioning_profile": "",
|
||||
"ios_export_method": "",
|
||||
"ios_export_options": {},
|
||||
"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 }}",
|
||||
"base_url": "/",
|
||||
|
|
|
|||
|
|
@ -362,8 +362,8 @@
|
|||
CLANG_ENABLE_MODULES = YES;
|
||||
CODE_SIGN_STYLE = Manual;
|
||||
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
|
||||
{% if cookiecutter.provisioning_profile %}
|
||||
PROVISIONING_PROFILE_SPECIFIER = "{{ cookiecutter.provisioning_profile }}";
|
||||
{% if cookiecutter.ios_provisioning_profile %}
|
||||
PROVISIONING_PROFILE_SPECIFIER = "{{ cookiecutter.ios_provisioning_profile }}";
|
||||
{% endif %}
|
||||
ENABLE_BITCODE = NO;
|
||||
INFOPLIST_FILE = Runner/Info.plist;
|
||||
|
|
@ -544,8 +544,8 @@
|
|||
CLANG_ENABLE_MODULES = YES;
|
||||
CODE_SIGN_STYLE = Manual;
|
||||
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
|
||||
{% if cookiecutter.provisioning_profile %}
|
||||
PROVISIONING_PROFILE_SPECIFIER = "{{ cookiecutter.provisioning_profile }}";
|
||||
{% if cookiecutter.ios_provisioning_profile %}
|
||||
PROVISIONING_PROFILE_SPECIFIER = "{{ cookiecutter.ios_provisioning_profile }}";
|
||||
{% endif %}
|
||||
ENABLE_BITCODE = NO;
|
||||
INFOPLIST_FILE = Runner/Info.plist;
|
||||
|
|
@ -570,8 +570,8 @@
|
|||
CLANG_ENABLE_MODULES = YES;
|
||||
CODE_SIGN_STYLE = Manual;
|
||||
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
|
||||
{% if cookiecutter.provisioning_profile %}
|
||||
PROVISIONING_PROFILE_SPECIFIER = "{{ cookiecutter.provisioning_profile }}";
|
||||
{% if cookiecutter.ios_provisioning_profile %}
|
||||
PROVISIONING_PROFILE_SPECIFIER = "{{ cookiecutter.ios_provisioning_profile }}";
|
||||
{% endif %}
|
||||
ENABLE_BITCODE = NO;
|
||||
INFOPLIST_FILE = Runner/Info.plist;
|
||||
|
|
|
|||
|
|
@ -0,0 +1,29 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>method</key>
|
||||
<string>{{ cookiecutter.ios_export_method }}</string>
|
||||
<key>provisioningProfiles</key>
|
||||
<dict>
|
||||
<key>{{ cookiecutter.bundle_id }}</key>
|
||||
<string>{{ cookiecutter.ios_provisioning_profile }}</string>
|
||||
</dict>
|
||||
{% macro render_dict(d) %}
|
||||
{% for key, value in d.items() %}
|
||||
<key>{{ key }}</key>
|
||||
{% if value is string %}
|
||||
<string>{{ value }}</string>
|
||||
{% elif value is boolean %}
|
||||
<{{ "true" if value else "false" }}/>
|
||||
{% elif value is mapping %}
|
||||
<dict>
|
||||
{{ render_dict(value) }}
|
||||
</dict>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endmacro %}
|
||||
|
||||
{{ render_dict(cookiecutter.ios_export_options) }}
|
||||
</dict>
|
||||
</plist>
|
||||
Loading…
Reference in New Issue