Skip to content

Commit c219c56

Browse files
committed
fix: xros device support when building metadata
1 parent 48714b5 commit c219c56

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

metadata-generator/build-step-metadata-generator.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ def map_and_list(func, iterable):
5151
docset_platform = "xros"
5252
default_deployment_target_flag_name = "-mxrossimulator-version-min"
5353
default_deployment_target_clang_env_name = "XROS_DEPLOYMENT_TARGET"
54+
elif effective_platform_name == "-xros":
55+
docset_platform = "xros"
56+
default_deployment_target_flag_name = "-mxros-version-min"
57+
default_deployment_target_clang_env_name = "XROS_DEPLOYMENT_TARGET"
5458
elif effective_platform_name == "-watchos":
5559
docset_platform = "watchOS"
5660
default_deployment_target_flag_name = "-mwatchos-version-min"

0 commit comments

Comments
 (0)