Skip to content

Commit 3af4857

Browse files
authored
Use a consistent variable name for iOS configuration. (#50)
1 parent 384c96d commit 3af4857

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

cookiecutter.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"version": "1.0",
1313
"build": "1",
1414
"python_version": "3.X.0",
15-
"iphoneos_deployment_target": "13.0",
15+
"min_os_version": "13.0",
1616
"_copy_without_render": [
1717
".gitignore",
1818
"*.png"

{{ cookiecutter.format }}/{{ cookiecutter.class_name }}/dylib-Info-template.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<string>iPhoneOS</string>
2020
</array>
2121
<key>MinimumOSVersion</key>
22-
<string>{{ cookiecutter.iphoneos_deployment_target }}</string>
22+
<string>{{ cookiecutter.min_os_version }}</string>
2323
<key>CFBundleVersion</key>
2424
<string>1</string>
2525
</dict>

{{ cookiecutter.format }}/{{ cookiecutter.formal_name }}.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@
314314
GCC_WARN_UNUSED_FUNCTION = YES;
315315
GCC_WARN_UNUSED_VARIABLE = YES;
316316
HEADER_SEARCH_PATHS = "\"$(BUILT_PRODUCTS_DIR)/Python.framework/Headers\"";
317-
IPHONEOS_DEPLOYMENT_TARGET = {{ cookiecutter.iphoneos_deployment_target }};
317+
IPHONEOS_DEPLOYMENT_TARGET = {{ cookiecutter.min_os_version }};
318318
ONLY_ACTIVE_ARCH = YES;
319319
SDKROOT = iphoneos;
320320
TARGETED_DEVICE_FAMILY = "1,2";
@@ -366,7 +366,7 @@
366366
GCC_WARN_UNUSED_FUNCTION = YES;
367367
GCC_WARN_UNUSED_VARIABLE = YES;
368368
HEADER_SEARCH_PATHS = "\"$(BUILT_PRODUCTS_DIR)/Python.framework/Headers\"";
369-
IPHONEOS_DEPLOYMENT_TARGET = {{ cookiecutter.iphoneos_deployment_target }};
369+
IPHONEOS_DEPLOYMENT_TARGET = {{ cookiecutter.min_os_version }};
370370
SDKROOT = iphoneos;
371371
TARGETED_DEVICE_FAMILY = "1,2";
372372
VALIDATE_PRODUCT = YES;
@@ -384,7 +384,7 @@
384384
GCC_PREFIX_HEADER = "{{ cookiecutter.class_name }}/{{ cookiecutter.class_name }}-Prefix.pch";
385385
HEADER_SEARCH_PATHS = "\"$(BUILT_PRODUCTS_DIR)/Python.framework/Headers\"";
386386
INFOPLIST_FILE = "{{ cookiecutter.class_name }}/{{ cookiecutter.class_name }}-Info.plist";
387-
IPHONEOS_DEPLOYMENT_TARGET = {{ cookiecutter.iphoneos_deployment_target }};
387+
IPHONEOS_DEPLOYMENT_TARGET = {{ cookiecutter.min_os_version }};
388388
LD_RUNPATH_SEARCH_PATHS = (
389389
"$(inherited)",
390390
"@executable_path/Frameworks",
@@ -407,7 +407,7 @@
407407
GCC_PREFIX_HEADER = "{{ cookiecutter.class_name }}/{{ cookiecutter.class_name }}-Prefix.pch";
408408
HEADER_SEARCH_PATHS = "\"$(BUILT_PRODUCTS_DIR)/Python.framework/Headers\"";
409409
INFOPLIST_FILE = "{{ cookiecutter.class_name }}/{{ cookiecutter.class_name }}-Info.plist";
410-
IPHONEOS_DEPLOYMENT_TARGET = {{ cookiecutter.iphoneos_deployment_target }};
410+
IPHONEOS_DEPLOYMENT_TARGET = {{ cookiecutter.min_os_version }};
411411
LD_RUNPATH_SEARCH_PATHS = (
412412
"$(inherited)",
413413
"@executable_path/Frameworks",

0 commit comments

Comments
 (0)