@nativescript/ios 8.2.2 → 8.2.4-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#!/usr/bin/env
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
2
|
|
|
3
3
|
import os
|
|
4
4
|
import shlex
|
|
@@ -39,27 +39,27 @@ effective_platofrm_name = env("EFFECTIVE_PLATFORM_NAME")
|
|
|
39
39
|
docset_platform = "iOS"
|
|
40
40
|
default_deployment_target_flag_name = "-mios-simulator-version-min"
|
|
41
41
|
default_deployment_target_clang_env_name = "IPHONEOS_DEPLOYMENT_TARGET"
|
|
42
|
-
if effective_platofrm_name
|
|
42
|
+
if effective_platofrm_name == "-macosx":
|
|
43
43
|
docset_platform = "OSX"
|
|
44
44
|
default_deployment_target_flag_name = "-mmacosx-version-min"
|
|
45
45
|
default_deployment_target_clang_env_name = "MACOSX_DEPLOYMENT_TARGET"
|
|
46
|
-
elif effective_platofrm_name
|
|
46
|
+
elif effective_platofrm_name == "-watchos":
|
|
47
47
|
docset_platform = "watchOS"
|
|
48
48
|
default_deployment_target_flag_name = "-mwatchos-version-min"
|
|
49
49
|
default_deployment_target_clang_env_name = "WATCHOS_DEPLOYMENT_TARGET"
|
|
50
|
-
elif effective_platofrm_name
|
|
50
|
+
elif effective_platofrm_name == "-watchsimulator":
|
|
51
51
|
docset_platform = "watchOS"
|
|
52
52
|
default_deployment_target_flag_name = "-mwatchos-simulator-version-min"
|
|
53
53
|
default_deployment_target_clang_env_name = "WATCHOS_DEPLOYMENT_TARGET"
|
|
54
|
-
elif effective_platofrm_name
|
|
54
|
+
elif effective_platofrm_name == "-appletvos":
|
|
55
55
|
docset_platform = "tvOS"
|
|
56
56
|
default_deployment_target_flag_name = "-mappletvos-version-min"
|
|
57
57
|
default_deployment_target_clang_env_name = "APPLETVOS_DEPLOYMENT_TARGET"
|
|
58
|
-
elif effective_platofrm_name
|
|
58
|
+
elif effective_platofrm_name == "-appletvsimulator":
|
|
59
59
|
docset_platform = "tvOS"
|
|
60
60
|
default_deployment_target_flag_name = "-mappletvsimulator-version-min"
|
|
61
61
|
default_deployment_target_clang_env_name = "APPLETVOS_DEPLOYMENT_TARGET"
|
|
62
|
-
elif effective_platofrm_name
|
|
62
|
+
elif effective_platofrm_name == "-iphoneos":
|
|
63
63
|
default_deployment_target_flag_name = "-miphoneos-version-min"
|
|
64
64
|
|
|
65
65
|
conf_build_dir = env("CONFIGURATION_BUILD_DIR")
|
|
@@ -133,7 +133,7 @@ def generate_metadata(arch):
|
|
|
133
133
|
"-" + deployment_target_flag_name + "=" + deployment_target,
|
|
134
134
|
"-std=" + std])
|
|
135
135
|
|
|
136
|
-
if env_or_empty("IS_UIKITFORMAC").capitalize()
|
|
136
|
+
if env_or_empty("IS_UIKITFORMAC").capitalize() == "YES":
|
|
137
137
|
generator_call.extend(["-arch", arch])
|
|
138
138
|
else:
|
|
139
139
|
generator_call.extend(["-target", "{}-apple-ios13.0-macabi".format(arch)])
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#!/usr/bin/env
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
2
|
|
|
3
3
|
import os
|
|
4
4
|
import shlex
|
|
@@ -39,27 +39,27 @@ effective_platofrm_name = env("EFFECTIVE_PLATFORM_NAME")
|
|
|
39
39
|
docset_platform = "iOS"
|
|
40
40
|
default_deployment_target_flag_name = "-mios-simulator-version-min"
|
|
41
41
|
default_deployment_target_clang_env_name = "IPHONEOS_DEPLOYMENT_TARGET"
|
|
42
|
-
if effective_platofrm_name
|
|
42
|
+
if effective_platofrm_name == "-macosx":
|
|
43
43
|
docset_platform = "OSX"
|
|
44
44
|
default_deployment_target_flag_name = "-mmacosx-version-min"
|
|
45
45
|
default_deployment_target_clang_env_name = "MACOSX_DEPLOYMENT_TARGET"
|
|
46
|
-
elif effective_platofrm_name
|
|
46
|
+
elif effective_platofrm_name == "-watchos":
|
|
47
47
|
docset_platform = "watchOS"
|
|
48
48
|
default_deployment_target_flag_name = "-mwatchos-version-min"
|
|
49
49
|
default_deployment_target_clang_env_name = "WATCHOS_DEPLOYMENT_TARGET"
|
|
50
|
-
elif effective_platofrm_name
|
|
50
|
+
elif effective_platofrm_name == "-watchsimulator":
|
|
51
51
|
docset_platform = "watchOS"
|
|
52
52
|
default_deployment_target_flag_name = "-mwatchos-simulator-version-min"
|
|
53
53
|
default_deployment_target_clang_env_name = "WATCHOS_DEPLOYMENT_TARGET"
|
|
54
|
-
elif effective_platofrm_name
|
|
54
|
+
elif effective_platofrm_name == "-appletvos":
|
|
55
55
|
docset_platform = "tvOS"
|
|
56
56
|
default_deployment_target_flag_name = "-mappletvos-version-min"
|
|
57
57
|
default_deployment_target_clang_env_name = "APPLETVOS_DEPLOYMENT_TARGET"
|
|
58
|
-
elif effective_platofrm_name
|
|
58
|
+
elif effective_platofrm_name == "-appletvsimulator":
|
|
59
59
|
docset_platform = "tvOS"
|
|
60
60
|
default_deployment_target_flag_name = "-mappletvsimulator-version-min"
|
|
61
61
|
default_deployment_target_clang_env_name = "APPLETVOS_DEPLOYMENT_TARGET"
|
|
62
|
-
elif effective_platofrm_name
|
|
62
|
+
elif effective_platofrm_name == "-iphoneos":
|
|
63
63
|
default_deployment_target_flag_name = "-miphoneos-version-min"
|
|
64
64
|
|
|
65
65
|
conf_build_dir = env("CONFIGURATION_BUILD_DIR")
|
|
@@ -133,7 +133,7 @@ def generate_metadata(arch):
|
|
|
133
133
|
"-" + deployment_target_flag_name + "=" + deployment_target,
|
|
134
134
|
"-std=" + std])
|
|
135
135
|
|
|
136
|
-
if env_or_empty("IS_UIKITFORMAC").capitalize()
|
|
136
|
+
if env_or_empty("IS_UIKITFORMAC").capitalize() == "YES":
|
|
137
137
|
generator_call.extend(["-arch", arch])
|
|
138
138
|
else:
|
|
139
139
|
generator_call.extend(["-target", "{}-apple-ios13.0-macabi".format(arch)])
|