From f6d47eea1acd8d6d69d013bbf0adae7a6c9a8c93 Mon Sep 17 00:00:00 2001 From: Karim Alweheshy Date: Tue, 26 Dec 2023 14:24:39 +0100 Subject: [PATCH] Update CI to Xcode 15.1 on macos 13 --- .github/workflows/tests.yml | 22 +- BUILD.bazel | 30 +- data/xcspec_evals.bzl | 522 +++++++++++++++++----------- data/xcspecs.bzl | 262 ++++++++++---- data_generators/xcspec_extractor.py | 2 +- tests/ios/xcconfig/BUILD.bazel | 3 - 6 files changed, 558 insertions(+), 283 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 347cdae72..7ababe63a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -14,7 +14,7 @@ concurrency: jobs: integration_tests: name: Build and Test - runs-on: macos-12 + runs-on: macos-13 steps: - uses: actions/checkout@v3 - name: Preflight Env @@ -54,7 +54,7 @@ jobs: # consider merging this feature into the default behavior and can re-align # the CI job name: Build and Test ( Virtual Frameworks ) - runs-on: macos-12 + runs-on: macos-13 steps: - uses: actions/checkout@v3 - name: Preflight Env @@ -83,7 +83,7 @@ jobs: bazel_5_ios_integration_tests: name: Build and Test ( Virtual Frameworks + Bazel 5 ) - runs-on: macos-12 + runs-on: macos-13 env: USE_BAZEL_VERSION: 5.3.2 steps: @@ -109,7 +109,7 @@ jobs: rules_apple_2_ios_integration_tests: name: Build and Test ( Virtual Frameworks + rules_apple 2.x ) - runs-on: macos-12 + runs-on: macos-13 env: USE_BAZEL_VERSION: 6.1.2 steps: @@ -134,7 +134,7 @@ jobs: build_arm64_simulator: name: Build arm64 Simulator - runs-on: macos-12 + runs-on: macos-13 steps: - uses: actions/checkout@v3 - name: Preflight Env @@ -166,7 +166,7 @@ jobs: lint: name: Check Starlark and Docs - runs-on: macos-12 + runs-on: macos-13 steps: - uses: actions/checkout@v3 - name: Preflight Env @@ -183,8 +183,8 @@ jobs: git diff --exit-code docs xcodeproj_tests: - name: .xcodeproj Tests on Xcode 14.2.0 - runs-on: macos-12 + name: .xcodeproj Tests on Xcode 15.1.0 + runs-on: macos-13 steps: - uses: actions/checkout@v3 - name: Preflight Env @@ -198,8 +198,8 @@ jobs: path: bazel-testlogs lldb_ios_tests_xcode: - name: LLDB tests on Xcode 14.2.0 - runs-on: macos-12 + name: LLDB tests on Xcode 15.1.0 + runs-on: macos-13 steps: - uses: actions/checkout@v3 - name: Preflight Env @@ -222,7 +222,7 @@ jobs: # i386 was removed on rules_apple 3.x.x - this test case needs reworking # to exemplify fat binaries on the latest version name: Build iOS App for Multiple Architecture - runs-on: macos-12 + runs-on: macos-13 env: USE_BAZEL_VERSION: 6.1.2 steps: diff --git a/BUILD.bazel b/BUILD.bazel index c8cc2467e..059a7079a 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -135,34 +135,34 @@ selects.config_setting_group( ) xcode_version( - name = "version14_2_0_14C18", + name = "version15_1_0_15C65", aliases = [ - "14.2.0.14C18", - "14.2.0", - "14C18", - "14.2", - "14", + "15.1", + "15", + "15C65", + "15.1.0.15C65", + "15.1.0", ], - default_ios_sdk_version = "16.2", - default_macos_sdk_version = "13.1", - default_tvos_sdk_version = "16.1", - default_watchos_sdk_version = "9.1", - version = "14.2.0.14C18", + default_ios_sdk_version = "17.2", + default_macos_sdk_version = "14.2", + default_tvos_sdk_version = "17.2", + default_watchos_sdk_version = "10.2", + version = "15.1.0.15C65", ) xcode_config( name = "host_xcodes", - default = ":version14_2_0_14C18", + default = ":version15_1_0_15C65", versions = [ - ":version14_2_0_14C18", + ":version15_1_0_15C65", ], visibility = ["//visibility:public"], ) available_xcodes( name = "host_available_xcodes", - default = ":version14_2_0_14C18", + default = ":version15_1_0_15C65", versions = [ - ":version14_2_0_14C18", + ":version15_1_0_15C65", ], ) diff --git a/data/xcspec_evals.bzl b/data/xcspec_evals.bzl index 62af1bf52..cb9478143 100644 --- a/data/xcspec_evals.bzl +++ b/data/xcspec_evals.bzl @@ -1,29 +1,11 @@ """ ############################################################################ # THIS IS GENERATED CODE # -# Extracted from Xcode 14.2 # +# Extracted from Xcode 15.1 # # To update, in rules_ios run `bazel run data_generators:extract_xcspecs` # ############################################################################ """ -def _com_apple_compilers_llvm_clang_1_0__CLANG_TARGET_TRIPLE_ARCHS__Condition(xcconfigs, id_configs): - # $(USE_LLVM_TARGET_TRIPLES_FOR_CLANG) - - used_user_content = False - - eval_val_0 = "" - eval_key_0 = "USE_LLVM_TARGET_TRIPLES_FOR_CLANG" - if eval_key_0 in xcconfigs: - eval_val_0 = xcconfigs[eval_key_0] - used_user_content = True - elif eval_key_0 in id_configs: - opt = id_configs[eval_key_0] - if "DefaultValue" in opt: - (eval_val_0_used_user_content, eval_val_0) = XCSPEC_EVALS[opt["DefaultValue"]](xcconfigs, id_configs) - used_user_content = used_user_content or eval_val_0_used_user_content - - return (used_user_content, (eval_val_0 == "YES")) - def _com_apple_compilers_llvm_clang_1_0__CLANG_TARGET_TRIPLE_ARCHS__DefaultValue(xcconfigs, id_configs): # $(CURRENT_ARCH) @@ -42,42 +24,6 @@ def _com_apple_compilers_llvm_clang_1_0__CLANG_TARGET_TRIPLE_ARCHS__DefaultValue return (used_user_content, eval_val_0) -def _com_apple_compilers_llvm_clang_1_0__CLANG_TARGET_TRIPLE_VARIANTS__Condition(xcconfigs, id_configs): - # $(USE_LLVM_TARGET_TRIPLES_FOR_CLANG) - - used_user_content = False - - eval_val_0 = "" - eval_key_0 = "USE_LLVM_TARGET_TRIPLES_FOR_CLANG" - if eval_key_0 in xcconfigs: - eval_val_0 = xcconfigs[eval_key_0] - used_user_content = True - elif eval_key_0 in id_configs: - opt = id_configs[eval_key_0] - if "DefaultValue" in opt: - (eval_val_0_used_user_content, eval_val_0) = XCSPEC_EVALS[opt["DefaultValue"]](xcconfigs, id_configs) - used_user_content = used_user_content or eval_val_0_used_user_content - - return (used_user_content, (eval_val_0 == "YES")) - -def _com_apple_compilers_llvm_clang_1_0__arch__Condition(xcconfigs, id_configs): - # !$(USE_LLVM_TARGET_TRIPLES_FOR_CLANG) - - used_user_content = False - - eval_val_0 = "" - eval_key_0 = "USE_LLVM_TARGET_TRIPLES_FOR_CLANG" - if eval_key_0 in xcconfigs: - eval_val_0 = xcconfigs[eval_key_0] - used_user_content = True - elif eval_key_0 in id_configs: - opt = id_configs[eval_key_0] - if "DefaultValue" in opt: - (eval_val_0_used_user_content, eval_val_0) = XCSPEC_EVALS[opt["DefaultValue"]](xcconfigs, id_configs) - used_user_content = used_user_content or eval_val_0_used_user_content - - return (used_user_content, (not eval_val_0 == "YES")) - def _com_apple_compilers_llvm_clang_1_0__diagnostic_message_length__DefaultValue(xcconfigs, id_configs): # 0 return (False, "0") @@ -535,6 +481,10 @@ def _com_apple_compilers_llvm_clang_1_0__CLANG_ENABLE_BOUNDS_ATTRIBUTES__Default # NO return (False, "NO") +def _com_apple_compilers_llvm_clang_1_0__CLANG_ENABLE_BOUNDS_SAFETY__DefaultValue(xcconfigs, id_configs): + # NO + return (False, "NO") + def _com_apple_compilers_llvm_clang_1_0__CLANG_ENABLE_APP_EXTENSION__DefaultValue(xcconfigs, id_configs): # $(APPLICATION_EXTENSION_API_ONLY) @@ -831,8 +781,22 @@ def _com_apple_compilers_llvm_clang_1_0__GCC_WARN_UNKNOWN_PRAGMAS__DefaultValue( return (False, "NO") def _com_apple_compilers_llvm_clang_1_0__GCC_WARN_INHIBIT_ALL_WARNINGS__DefaultValue(xcconfigs, id_configs): - # NO - return (False, "NO") + # $(SUPPRESS_WARNINGS) + + used_user_content = False + + eval_val_0 = "" + eval_key_0 = "SUPPRESS_WARNINGS" + if eval_key_0 in xcconfigs: + eval_val_0 = xcconfigs[eval_key_0] + used_user_content = True + elif eval_key_0 in id_configs: + opt = id_configs[eval_key_0] + if "DefaultValue" in opt: + (eval_val_0_used_user_content, eval_val_0) = XCSPEC_EVALS[opt["DefaultValue"]](xcconfigs, id_configs) + used_user_content = used_user_content or eval_val_0_used_user_content + + return (used_user_content, eval_val_0) def _com_apple_compilers_llvm_clang_1_0__GCC_WARN_PEDANTIC__DefaultValue(xcconfigs, id_configs): # NO @@ -1329,6 +1293,10 @@ def _com_apple_compilers_llvm_clang_1_0__GCC_ENABLE_OBJC_EXCEPTIONS__DefaultValu # YES return (False, "YES") +def _com_apple_compilers_llvm_clang_1_0__CLANG_ENABLE_OBJC_ARC_EXCEPTIONS__DefaultValue(xcconfigs, id_configs): + # NO + return (False, "NO") + def _com_apple_compilers_llvm_clang_1_0__GCC_CW_ASM_SYNTAX__DefaultValue(xcconfigs, id_configs): # YES return (False, "YES") @@ -1383,53 +1351,6 @@ def _com_apple_compilers_llvm_clang_1_0__GCC_WARN_ABOUT_INVALID_OFFSETOF_MACRO__ # YES return (False, "YES") -def _com_apple_compilers_llvm_clang_1_0__GCC_MACOSX_VERSION_MIN__Condition(xcconfigs, id_configs): - # !$(USE_LLVM_TARGET_TRIPLES_FOR_CLANG) - - used_user_content = False - - eval_val_0 = "" - eval_key_0 = "USE_LLVM_TARGET_TRIPLES_FOR_CLANG" - if eval_key_0 in xcconfigs: - eval_val_0 = xcconfigs[eval_key_0] - used_user_content = True - elif eval_key_0 in id_configs: - opt = id_configs[eval_key_0] - if "DefaultValue" in opt: - (eval_val_0_used_user_content, eval_val_0) = XCSPEC_EVALS[opt["DefaultValue"]](xcconfigs, id_configs) - used_user_content = used_user_content or eval_val_0_used_user_content - - return (used_user_content, (not eval_val_0 == "YES")) - -def _com_apple_compilers_llvm_clang_1_0__GCC_MACOSX_VERSION_MIN__DefaultValue(xcconfigs, id_configs): - # $($(DEPLOYMENT_TARGET_SETTING_NAME)) - - used_user_content = False - - eval_val_0 = "" - eval_key_0 = "DEPLOYMENT_TARGET_SETTING_NAME" - if eval_key_0 in xcconfigs: - eval_val_0 = xcconfigs[eval_key_0] - used_user_content = True - elif eval_key_0 in id_configs: - opt = id_configs[eval_key_0] - if "DefaultValue" in opt: - (eval_val_0_used_user_content, eval_val_0) = XCSPEC_EVALS[opt["DefaultValue"]](xcconfigs, id_configs) - used_user_content = used_user_content or eval_val_0_used_user_content - - eval_val_1 = "" - eval_key_1 = eval_val_0 - if eval_key_1 in xcconfigs: - eval_val_1 = xcconfigs[eval_key_1] - used_user_content = True - elif eval_key_1 in id_configs: - opt = id_configs[eval_key_1] - if "DefaultValue" in opt: - (eval_val_1_used_user_content, eval_val_1) = XCSPEC_EVALS[opt["DefaultValue"]](xcconfigs, id_configs) - used_user_content = used_user_content or eval_val_1_used_user_content - - return (used_user_content, eval_val_1) - def _com_apple_compilers_llvm_clang_1_0__GCC_DEBUG_INFORMATION_FORMAT__Condition(xcconfigs, id_configs): # $(GCC_GENERATE_DEBUGGING_SYMBOLS) @@ -1789,8 +1710,22 @@ def _com_apple_compilers_llvm_clang_1_0__CLANG_USE_OPTIMIZATION_PROFILE__Default return (False, "NO") def _com_apple_compilers_llvm_clang_1_0__CLANG_ENABLE_CODE_COVERAGE__DefaultValue(xcconfigs, id_configs): - # YES - return (False, "YES") + # $(ENABLE_CODE_COVERAGE) + + used_user_content = False + + eval_val_0 = "" + eval_key_0 = "ENABLE_CODE_COVERAGE" + if eval_key_0 in xcconfigs: + eval_val_0 = xcconfigs[eval_key_0] + used_user_content = True + elif eval_key_0 in id_configs: + opt = id_configs[eval_key_0] + if "DefaultValue" in opt: + (eval_val_0_used_user_content, eval_val_0) = XCSPEC_EVALS[opt["DefaultValue"]](xcconfigs, id_configs) + used_user_content = used_user_content or eval_val_0_used_user_content + + return (used_user_content, eval_val_0) def _com_apple_compilers_llvm_clang_1_0__CLANG_COVERAGE_MAPPING__Condition(xcconfigs, id_configs): # $(CLANG_ENABLE_CODE_COVERAGE) @@ -2082,6 +2017,43 @@ def _com_apple_compilers_llvm_clang_1_0__CLANG_UNDEFINED_BEHAVIOR_SANITIZER_NULL # NO return (False, "NO") +def _com_apple_compilers_llvm_clang_1_0__CLANG_UNDEFINED_BEHAVIOR_SANITIZER_TRAP_ON_SECURITY_ISSUES__DefaultValue(xcconfigs, id_configs): + # NO + return (False, "NO") + +def _com_apple_compilers_llvm_clang_1_0__CLANG_UNDEFINED_BEHAVIOR_SANITIZER_TRAP_ON_SECURITY_ISSUES_OPT__Condition(xcconfigs, id_configs): + # $(CLANG_UNDEFINED_BEHAVIOR_SANITIZER_TRAP_ON_SECURITY_ISSUES) && $(GCC_OPTIMIZATION_LEVEL) != 0 + + used_user_content = False + + eval_val_0 = "" + eval_key_0 = "CLANG_UNDEFINED_BEHAVIOR_SANITIZER_TRAP_ON_SECURITY_ISSUES" + if eval_key_0 in xcconfigs: + eval_val_0 = xcconfigs[eval_key_0] + used_user_content = True + elif eval_key_0 in id_configs: + opt = id_configs[eval_key_0] + if "DefaultValue" in opt: + (eval_val_0_used_user_content, eval_val_0) = XCSPEC_EVALS[opt["DefaultValue"]](xcconfigs, id_configs) + used_user_content = used_user_content or eval_val_0_used_user_content + + eval_val_1 = "" + eval_key_1 = "GCC_OPTIMIZATION_LEVEL" + if eval_key_1 in xcconfigs: + eval_val_1 = xcconfigs[eval_key_1] + used_user_content = True + elif eval_key_1 in id_configs: + opt = id_configs[eval_key_1] + if "DefaultValue" in opt: + (eval_val_1_used_user_content, eval_val_1) = XCSPEC_EVALS[opt["DefaultValue"]](xcconfigs, id_configs) + used_user_content = used_user_content or eval_val_1_used_user_content + + return (used_user_content, (eval_val_0 == "YES" and eval_val_1 != "0")) + +def _com_apple_compilers_llvm_clang_1_0__CLANG_UNDEFINED_BEHAVIOR_SANITIZER_TRAP_ON_SECURITY_ISSUES_OPT__DefaultValue(xcconfigs, id_configs): + # YES + return (False, "YES") + def _com_apple_compilers_llvm_clang_1_0__CLANG_INDEX_STORE_PATH__DefaultValue(xcconfigs, id_configs): # $(INDEX_DATA_STORE_DIR) @@ -2173,6 +2145,57 @@ def _com_apple_compilers_llvm_clang_1_0__CLANG_ARC_MIGRATE_EMIT_ERROR__DefaultVa # NO return (False, "NO") +def _com_apple_compilers_llvm_clang_1_0__CLANG_ENABLE_PREFIX_MAPPING__Condition(xcconfigs, id_configs): + # $(CLANG_ENABLE_COMPILE_CACHE) + + used_user_content = False + + eval_val_0 = "" + eval_key_0 = "CLANG_ENABLE_COMPILE_CACHE" + if eval_key_0 in xcconfigs: + eval_val_0 = xcconfigs[eval_key_0] + used_user_content = True + elif eval_key_0 in id_configs: + opt = id_configs[eval_key_0] + if "DefaultValue" in opt: + (eval_val_0_used_user_content, eval_val_0) = XCSPEC_EVALS[opt["DefaultValue"]](xcconfigs, id_configs) + used_user_content = used_user_content or eval_val_0_used_user_content + + return (used_user_content, (eval_val_0 == "YES")) + +def _com_apple_compilers_llvm_clang_1_0__CLANG_OTHER_PREFIX_MAPPINGS__Condition(xcconfigs, id_configs): + # $(CLANG_ENABLE_COMPILE_CACHE) && $(CLANG_ENABLE_PREFIX_MAPPING) + + used_user_content = False + + eval_val_0 = "" + eval_key_0 = "CLANG_ENABLE_COMPILE_CACHE" + if eval_key_0 in xcconfigs: + eval_val_0 = xcconfigs[eval_key_0] + used_user_content = True + elif eval_key_0 in id_configs: + opt = id_configs[eval_key_0] + if "DefaultValue" in opt: + (eval_val_0_used_user_content, eval_val_0) = XCSPEC_EVALS[opt["DefaultValue"]](xcconfigs, id_configs) + used_user_content = used_user_content or eval_val_0_used_user_content + + eval_val_1 = "" + eval_key_1 = "CLANG_ENABLE_PREFIX_MAPPING" + if eval_key_1 in xcconfigs: + eval_val_1 = xcconfigs[eval_key_1] + used_user_content = True + elif eval_key_1 in id_configs: + opt = id_configs[eval_key_1] + if "DefaultValue" in opt: + (eval_val_1_used_user_content, eval_val_1) = XCSPEC_EVALS[opt["DefaultValue"]](xcconfigs, id_configs) + used_user_content = used_user_content or eval_val_1_used_user_content + + return (used_user_content, (eval_val_0 == "YES" and eval_val_1 == "YES")) + +def _com_apple_compilers_llvm_clang_1_0__CLANG_OTHER_PREFIX_MAPPINGS__DefaultValue(xcconfigs, id_configs): + # + return (False, "") + def _com_apple_compilers_model_coredata__MOMC_OUTPUT_SUFFIX__DefaultValue(xcconfigs, id_configs): # $(MOMC_OUTPUT_SUFFIX_$(InputFileSuffix:identifier)) @@ -2336,23 +2359,9 @@ def _com_apple_compilers_model_coredatamapping__MAPC_MODULE__DefaultValue(xcconf return (used_user_content, eval_val_0) -def _com_apple_pbx_linkers_ld__LD_TARGET_TRIPLE_ARCHS__Condition(xcconfigs, id_configs): - # $(USE_LLVM_TARGET_TRIPLES_FOR_LD) - - used_user_content = False - - eval_val_0 = "" - eval_key_0 = "USE_LLVM_TARGET_TRIPLES_FOR_LD" - if eval_key_0 in xcconfigs: - eval_val_0 = xcconfigs[eval_key_0] - used_user_content = True - elif eval_key_0 in id_configs: - opt = id_configs[eval_key_0] - if "DefaultValue" in opt: - (eval_val_0_used_user_content, eval_val_0) = XCSPEC_EVALS[opt["DefaultValue"]](xcconfigs, id_configs) - used_user_content = used_user_content or eval_val_0_used_user_content - - return (used_user_content, (eval_val_0 == "YES")) +def _com_apple_pbx_linkers_ld__LD_DETERMINISTIC_MODE__DefaultValue(xcconfigs, id_configs): + # YES + return (False, "YES") def _com_apple_pbx_linkers_ld__LD_TARGET_TRIPLE_ARCHS__DefaultValue(xcconfigs, id_configs): # $(CURRENT_ARCH) @@ -2372,13 +2381,13 @@ def _com_apple_pbx_linkers_ld__LD_TARGET_TRIPLE_ARCHS__DefaultValue(xcconfigs, i return (used_user_content, eval_val_0) -def _com_apple_pbx_linkers_ld__LD_TARGET_TRIPLE_VARIANTS__Condition(xcconfigs, id_configs): - # $(USE_LLVM_TARGET_TRIPLES_FOR_LD) +def _com_apple_pbx_linkers_ld__LD_OPTIMIZATION_LEVEL__DefaultValue(xcconfigs, id_configs): + # $(GCC_OPTIMIZATION_LEVEL) used_user_content = False eval_val_0 = "" - eval_key_0 = "USE_LLVM_TARGET_TRIPLES_FOR_LD" + eval_key_0 = "GCC_OPTIMIZATION_LEVEL" if eval_key_0 in xcconfigs: eval_val_0 = xcconfigs[eval_key_0] used_user_content = True @@ -2388,15 +2397,15 @@ def _com_apple_pbx_linkers_ld__LD_TARGET_TRIPLE_VARIANTS__Condition(xcconfigs, i (eval_val_0_used_user_content, eval_val_0) = XCSPEC_EVALS[opt["DefaultValue"]](xcconfigs, id_configs) used_user_content = used_user_content or eval_val_0_used_user_content - return (used_user_content, (eval_val_0 == "YES")) + return (used_user_content, eval_val_0) -def _com_apple_pbx_linkers_ld__arch__Condition(xcconfigs, id_configs): - # !$(USE_LLVM_TARGET_TRIPLES_FOR_LD) +def _com_apple_pbx_linkers_ld__LD_SUPPRESS_WARNINGS__DefaultValue(xcconfigs, id_configs): + # $(SUPPRESS_WARNINGS) used_user_content = False eval_val_0 = "" - eval_key_0 = "USE_LLVM_TARGET_TRIPLES_FOR_LD" + eval_key_0 = "SUPPRESS_WARNINGS" if eval_key_0 in xcconfigs: eval_val_0 = xcconfigs[eval_key_0] used_user_content = True @@ -2406,7 +2415,7 @@ def _com_apple_pbx_linkers_ld__arch__Condition(xcconfigs, id_configs): (eval_val_0_used_user_content, eval_val_0) = XCSPEC_EVALS[opt["DefaultValue"]](xcconfigs, id_configs) used_user_content = used_user_content or eval_val_0_used_user_content - return (used_user_content, (not eval_val_0 == "YES")) + return (used_user_content, eval_val_0) def _com_apple_pbx_linkers_ld____INPUT_FILE_LIST_PATH____DefaultValue(xcconfigs, id_configs): # $(LINK_FILE_LIST_$(variant)_$(arch)) @@ -2452,6 +2461,10 @@ def _com_apple_pbx_linkers_ld__LINKER_DISPLAYS_MANGLED_NAMES__DefaultValue(xccon # NO return (False, "NO") +def _com_apple_pbx_linkers_ld__LD_EXPORT_SYMBOLS__DefaultValue(xcconfigs, id_configs): + # YES + return (False, "YES") + def _com_apple_pbx_linkers_ld__EXPORTED_SYMBOLS_FILE__Condition(xcconfigs, id_configs): # !$(SEPARATE_SYMBOL_EDIT) @@ -2595,53 +2608,6 @@ def _com_apple_pbx_linkers_ld__LINK_WITH_STANDARD_LIBRARIES__DefaultValue(xcconf # YES return (False, "YES") -def _com_apple_pbx_linkers_ld__LD_DEPLOYMENT_TARGET__Condition(xcconfigs, id_configs): - # !$(USE_LLVM_TARGET_TRIPLES_FOR_LD) - - used_user_content = False - - eval_val_0 = "" - eval_key_0 = "USE_LLVM_TARGET_TRIPLES_FOR_LD" - if eval_key_0 in xcconfigs: - eval_val_0 = xcconfigs[eval_key_0] - used_user_content = True - elif eval_key_0 in id_configs: - opt = id_configs[eval_key_0] - if "DefaultValue" in opt: - (eval_val_0_used_user_content, eval_val_0) = XCSPEC_EVALS[opt["DefaultValue"]](xcconfigs, id_configs) - used_user_content = used_user_content or eval_val_0_used_user_content - - return (used_user_content, (not eval_val_0 == "YES")) - -def _com_apple_pbx_linkers_ld__LD_DEPLOYMENT_TARGET__DefaultValue(xcconfigs, id_configs): - # $($(DEPLOYMENT_TARGET_SETTING_NAME)) - - used_user_content = False - - eval_val_0 = "" - eval_key_0 = "DEPLOYMENT_TARGET_SETTING_NAME" - if eval_key_0 in xcconfigs: - eval_val_0 = xcconfigs[eval_key_0] - used_user_content = True - elif eval_key_0 in id_configs: - opt = id_configs[eval_key_0] - if "DefaultValue" in opt: - (eval_val_0_used_user_content, eval_val_0) = XCSPEC_EVALS[opt["DefaultValue"]](xcconfigs, id_configs) - used_user_content = used_user_content or eval_val_0_used_user_content - - eval_val_1 = "" - eval_key_1 = eval_val_0 - if eval_key_1 in xcconfigs: - eval_val_1 = xcconfigs[eval_key_1] - used_user_content = True - elif eval_key_1 in id_configs: - opt = id_configs[eval_key_1] - if "DefaultValue" in opt: - (eval_val_1_used_user_content, eval_val_1) = XCSPEC_EVALS[opt["DefaultValue"]](xcconfigs, id_configs) - used_user_content = used_user_content or eval_val_1_used_user_content - - return (used_user_content, eval_val_1) - def _com_apple_pbx_linkers_ld__KEEP_PRIVATE_EXTERNS__DefaultValue(xcconfigs, id_configs): # NO return (False, "NO") @@ -3194,6 +3160,42 @@ def _com_apple_pbx_linkers_ld__LD_DYLIB_ALLOWABLE_CLIENTS__DefaultValue(xcconfig # return (False, "") +def _com_apple_pbx_linkers_ld__LD_MAKE_MERGEABLE__DefaultValue(xcconfigs, id_configs): + # $(MAKE_MERGEABLE) + + used_user_content = False + + eval_val_0 = "" + eval_key_0 = "MAKE_MERGEABLE" + if eval_key_0 in xcconfigs: + eval_val_0 = xcconfigs[eval_key_0] + used_user_content = True + elif eval_key_0 in id_configs: + opt = id_configs[eval_key_0] + if "DefaultValue" in opt: + (eval_val_0_used_user_content, eval_val_0) = XCSPEC_EVALS[opt["DefaultValue"]](xcconfigs, id_configs) + used_user_content = used_user_content or eval_val_0_used_user_content + + return (used_user_content, eval_val_0) + +def _com_apple_pbx_linkers_ld__LD_ENTRY_POINT__Condition(xcconfigs, id_configs): + # $(MACH_O_TYPE) == mh_execute + + used_user_content = False + + eval_val_0 = "" + eval_key_0 = "MACH_O_TYPE" + if eval_key_0 in xcconfigs: + eval_val_0 = xcconfigs[eval_key_0] + used_user_content = True + elif eval_key_0 in id_configs: + opt = id_configs[eval_key_0] + if "DefaultValue" in opt: + (eval_val_0_used_user_content, eval_val_0) = XCSPEC_EVALS[opt["DefaultValue"]](xcconfigs, id_configs) + used_user_content = used_user_content or eval_val_0_used_user_content + + return (used_user_content, (eval_val_0 == "mh_execute")) + def _com_apple_pbx_linkers_ld__ALL_OTHER_LDFLAGS__Condition(xcconfigs, id_configs): # $(MACH_O_TYPE) != mh_object @@ -3354,6 +3356,10 @@ def _com_apple_pbx_linkers_ld__OTHER_LDRFLAGS__DefaultValue(xcconfigs, id_config return (used_user_content, eval_val_0) +def _com_apple_xcode_tools_ibtool_compiler__IBC_EXEC__DefaultValue(xcconfigs, id_configs): + # ibtool + return (False, "ibtool") + def _com_apple_xcode_tools_ibtool_compiler__IBC_FLATTEN_NIBS__DefaultValue(xcconfigs, id_configs): # YES return (False, "YES") @@ -3663,6 +3669,24 @@ def _com_apple_xcode_tools_swift_compiler__SWIFT_STDLIB__DefaultValue(xcconfigs, # swiftCore return (False, "swiftCore") +def _com_apple_xcode_tools_swift_compiler__SWIFT_PACKAGE_NAME__Condition(xcconfigs, id_configs): + # $(SWIFT_PACKAGE_NAME) != "" + + used_user_content = False + + eval_val_0 = "" + eval_key_0 = "SWIFT_PACKAGE_NAME" + if eval_key_0 in xcconfigs: + eval_val_0 = xcconfigs[eval_key_0] + used_user_content = True + elif eval_key_0 in id_configs: + opt = id_configs[eval_key_0] + if "DefaultValue" in opt: + (eval_val_0_used_user_content, eval_val_0) = XCSPEC_EVALS[opt["DefaultValue"]](xcconfigs, id_configs) + used_user_content = used_user_content or eval_val_0_used_user_content + + return (used_user_content, (eval_val_0 != "")) + def _com_apple_xcode_tools_swift_compiler__SWIFT_RESPONSE_FILE_PATH__DefaultValue(xcconfigs, id_configs): # $(SWIFT_RESPONSE_FILE_PATH_$(variant)_$(arch)) @@ -3795,10 +3819,26 @@ def _com_apple_xcode_tools_swift_compiler__SWIFT_ENABLE_BARE_SLASH_REGEX__Defaul # YES return (False, "YES") +def _com_apple_xcode_tools_swift_compiler__SWIFT_ENABLE_EMIT_CONST_VALUES__DefaultValue(xcconfigs, id_configs): + # YES + return (False, "YES") + +def _com_apple_xcode_tools_swift_compiler__SWIFT_EMIT_CONST_VALUE_PROTOCOLS__DefaultValue(xcconfigs, id_configs): + # AppIntent EntityQuery AppEntity TransientEntity AppEnum AppShortcutProviding AppShortcutsProvider AnyResolverProviding AppIntentsPackage DynamicOptionsProvider + return (False, "AppIntent EntityQuery AppEntity TransientEntity AppEnum AppShortcutProviding AppShortcutsProvider AnyResolverProviding AppIntentsPackage DynamicOptionsProvider") + def _com_apple_xcode_tools_swift_compiler__SWIFT_STRICT_CONCURRENCY__DefaultValue(xcconfigs, id_configs): # minimal return (False, "minimal") +def _com_apple_xcode_tools_swift_compiler__SWIFT_OBJC_INTEROP_MODE__DefaultValue(xcconfigs, id_configs): + # objc + return (False, "objc") + +def _com_apple_xcode_tools_swift_compiler__SWIFT_VALIDATE_CLANG_MODULES_ONCE_PER_BUILD_SESSION__DefaultValue(xcconfigs, id_configs): + # YES + return (False, "YES") + def _com_apple_xcode_tools_swift_compiler__SWIFT_SERIALIZE_DEBUGGING_OPTIONS__DefaultValue(xcconfigs, id_configs): # YES return (False, "YES") @@ -3839,6 +3879,24 @@ def _com_apple_xcode_tools_swift_compiler__SWIFT_LINK_OBJC_RUNTIME__DefaultValue return (used_user_content, eval_val_0) +def _com_apple_xcode_tools_swift_compiler__CLANG_COVERAGE_MAPPING__Condition(xcconfigs, id_configs): + # $(ENABLE_CODE_COVERAGE) + + used_user_content = False + + eval_val_0 = "" + eval_key_0 = "ENABLE_CODE_COVERAGE" + if eval_key_0 in xcconfigs: + eval_val_0 = xcconfigs[eval_key_0] + used_user_content = True + elif eval_key_0 in id_configs: + opt = id_configs[eval_key_0] + if "DefaultValue" in opt: + (eval_val_0_used_user_content, eval_val_0) = XCSPEC_EVALS[opt["DefaultValue"]](xcconfigs, id_configs) + used_user_content = used_user_content or eval_val_0_used_user_content + + return (used_user_content, (eval_val_0 == "YES")) + def _com_apple_xcode_tools_swift_compiler__CLANG_COVERAGE_MAPPING__DefaultValue(xcconfigs, id_configs): # NO return (False, "NO") @@ -3974,12 +4032,16 @@ def _com_apple_xcode_tools_swift_compiler__SWIFT_THREAD_SANITIZER__DefaultValue( return (used_user_content, eval_val_0) def _com_apple_xcode_tools_swift_compiler__SWIFT_ENABLE_TESTABILITY__DefaultValue(xcconfigs, id_configs): - # $(ENABLE_TESTABILITY) + # NO + return (False, "NO") + +def _com_apple_xcode_tools_swift_compiler__SWIFT_SUPPRESS_WARNINGS__DefaultValue(xcconfigs, id_configs): + # $(SUPPRESS_WARNINGS) used_user_content = False eval_val_0 = "" - eval_key_0 = "ENABLE_TESTABILITY" + eval_key_0 = "SUPPRESS_WARNINGS" if eval_key_0 in xcconfigs: eval_val_0 = xcconfigs[eval_key_0] used_user_content = True @@ -3991,10 +4053,6 @@ def _com_apple_xcode_tools_swift_compiler__SWIFT_ENABLE_TESTABILITY__DefaultValu return (used_user_content, eval_val_0) -def _com_apple_xcode_tools_swift_compiler__SWIFT_SUPPRESS_WARNINGS__DefaultValue(xcconfigs, id_configs): - # NO - return (False, "NO") - def _com_apple_xcode_tools_swift_compiler__SWIFT_TREAT_WARNINGS_AS_ERRORS__DefaultValue(xcconfigs, id_configs): # NO return (False, "NO") @@ -4100,6 +4158,68 @@ def _com_apple_xcode_tools_swift_compiler__SWIFT_ENABLE_LIBRARY_EVOLUTION__Defau return (used_user_content, eval_val_0) +def _com_apple_xcode_tools_swift_compiler__SWIFT_ENABLE_OPAQUE_TYPE_ERASURE__Condition(xcconfigs, id_configs): + # $(ENABLE_XOJIT_PREVIEWS) && $(SWIFT_OPTIMIZATION_LEVEL) == '-Onone' + + used_user_content = False + + eval_val_0 = "" + eval_key_0 = "ENABLE_XOJIT_PREVIEWS" + if eval_key_0 in xcconfigs: + eval_val_0 = xcconfigs[eval_key_0] + used_user_content = True + elif eval_key_0 in id_configs: + opt = id_configs[eval_key_0] + if "DefaultValue" in opt: + (eval_val_0_used_user_content, eval_val_0) = XCSPEC_EVALS[opt["DefaultValue"]](xcconfigs, id_configs) + used_user_content = used_user_content or eval_val_0_used_user_content + + eval_val_1 = "" + eval_key_1 = "SWIFT_OPTIMIZATION_LEVEL" + if eval_key_1 in xcconfigs: + eval_val_1 = xcconfigs[eval_key_1] + used_user_content = True + elif eval_key_1 in id_configs: + opt = id_configs[eval_key_1] + if "DefaultValue" in opt: + (eval_val_1_used_user_content, eval_val_1) = XCSPEC_EVALS[opt["DefaultValue"]](xcconfigs, id_configs) + used_user_content = used_user_content or eval_val_1_used_user_content + + return (used_user_content, (eval_val_0 == "YES" and eval_val_1 == "-Onone")) + +def _com_apple_xcode_tools_swift_compiler__SWIFT_ENABLE_OPAQUE_TYPE_ERASURE__DefaultValue(xcconfigs, id_configs): + # YES + return (False, "YES") + +def _com_apple_xcode_tools_swift_compiler__SWIFT_CLANG_CXX_LANGUAGE_STANDARD__DefaultValue(xcconfigs, id_configs): + # $(SWIFT_OBJC_INTEROP_MODE)-$(CLANG_CXX_LANGUAGE_STANDARD) + + used_user_content = False + + eval_val_0 = "" + eval_key_0 = "SWIFT_OBJC_INTEROP_MODE" + if eval_key_0 in xcconfigs: + eval_val_0 = xcconfigs[eval_key_0] + used_user_content = True + elif eval_key_0 in id_configs: + opt = id_configs[eval_key_0] + if "DefaultValue" in opt: + (eval_val_0_used_user_content, eval_val_0) = XCSPEC_EVALS[opt["DefaultValue"]](xcconfigs, id_configs) + used_user_content = used_user_content or eval_val_0_used_user_content + + eval_val_1 = "" + eval_key_1 = "CLANG_CXX_LANGUAGE_STANDARD" + if eval_key_1 in xcconfigs: + eval_val_1 = xcconfigs[eval_key_1] + used_user_content = True + elif eval_key_1 in id_configs: + opt = id_configs[eval_key_1] + if "DefaultValue" in opt: + (eval_val_1_used_user_content, eval_val_1) = XCSPEC_EVALS[opt["DefaultValue"]](xcconfigs, id_configs) + used_user_content = used_user_content or eval_val_1_used_user_content + + return (used_user_content, "{eval_val_0}-{eval_val_1}".format(eval_val_0 = eval_val_0, eval_val_1 = eval_val_1)) + XCSPEC_EVALS = { "com_apple_compilers_llvm_clang_1_0__CLANG_ADDRESS_SANITIZER_ALLOW_ERROR_RECOVERY__Condition": _com_apple_compilers_llvm_clang_1_0__CLANG_ADDRESS_SANITIZER_ALLOW_ERROR_RECOVERY__Condition, "com_apple_compilers_llvm_clang_1_0__CLANG_ADDRESS_SANITIZER_ALLOW_ERROR_RECOVERY__DefaultValue": _com_apple_compilers_llvm_clang_1_0__CLANG_ADDRESS_SANITIZER_ALLOW_ERROR_RECOVERY__DefaultValue, @@ -4126,14 +4246,17 @@ XCSPEC_EVALS = { "com_apple_compilers_llvm_clang_1_0__CLANG_DEBUG_MODULES__DefaultValue": _com_apple_compilers_llvm_clang_1_0__CLANG_DEBUG_MODULES__DefaultValue, "com_apple_compilers_llvm_clang_1_0__CLANG_ENABLE_APP_EXTENSION__DefaultValue": _com_apple_compilers_llvm_clang_1_0__CLANG_ENABLE_APP_EXTENSION__DefaultValue, "com_apple_compilers_llvm_clang_1_0__CLANG_ENABLE_BOUNDS_ATTRIBUTES__DefaultValue": _com_apple_compilers_llvm_clang_1_0__CLANG_ENABLE_BOUNDS_ATTRIBUTES__DefaultValue, + "com_apple_compilers_llvm_clang_1_0__CLANG_ENABLE_BOUNDS_SAFETY__DefaultValue": _com_apple_compilers_llvm_clang_1_0__CLANG_ENABLE_BOUNDS_SAFETY__DefaultValue, "com_apple_compilers_llvm_clang_1_0__CLANG_ENABLE_CODE_COVERAGE__DefaultValue": _com_apple_compilers_llvm_clang_1_0__CLANG_ENABLE_CODE_COVERAGE__DefaultValue, "com_apple_compilers_llvm_clang_1_0__CLANG_ENABLE_CPP_STATIC_DESTRUCTORS__DefaultValue": _com_apple_compilers_llvm_clang_1_0__CLANG_ENABLE_CPP_STATIC_DESTRUCTORS__DefaultValue, "com_apple_compilers_llvm_clang_1_0__CLANG_ENABLE_MODULES__DefaultValue": _com_apple_compilers_llvm_clang_1_0__CLANG_ENABLE_MODULES__DefaultValue, "com_apple_compilers_llvm_clang_1_0__CLANG_ENABLE_MODULE_DEBUGGING__DefaultValue": _com_apple_compilers_llvm_clang_1_0__CLANG_ENABLE_MODULE_DEBUGGING__DefaultValue, "com_apple_compilers_llvm_clang_1_0__CLANG_ENABLE_MODULE_IMPLEMENTATION_OF__Condition": _com_apple_compilers_llvm_clang_1_0__CLANG_ENABLE_MODULE_IMPLEMENTATION_OF__Condition, "com_apple_compilers_llvm_clang_1_0__CLANG_ENABLE_MODULE_IMPLEMENTATION_OF__DefaultValue": _com_apple_compilers_llvm_clang_1_0__CLANG_ENABLE_MODULE_IMPLEMENTATION_OF__DefaultValue, + "com_apple_compilers_llvm_clang_1_0__CLANG_ENABLE_OBJC_ARC_EXCEPTIONS__DefaultValue": _com_apple_compilers_llvm_clang_1_0__CLANG_ENABLE_OBJC_ARC_EXCEPTIONS__DefaultValue, "com_apple_compilers_llvm_clang_1_0__CLANG_ENABLE_OBJC_ARC__DefaultValue": _com_apple_compilers_llvm_clang_1_0__CLANG_ENABLE_OBJC_ARC__DefaultValue, "com_apple_compilers_llvm_clang_1_0__CLANG_ENABLE_OBJC_WEAK__DefaultValue": _com_apple_compilers_llvm_clang_1_0__CLANG_ENABLE_OBJC_WEAK__DefaultValue, + "com_apple_compilers_llvm_clang_1_0__CLANG_ENABLE_PREFIX_MAPPING__Condition": _com_apple_compilers_llvm_clang_1_0__CLANG_ENABLE_PREFIX_MAPPING__Condition, "com_apple_compilers_llvm_clang_1_0__CLANG_INDEX_STORE_ENABLE__Condition": _com_apple_compilers_llvm_clang_1_0__CLANG_INDEX_STORE_ENABLE__Condition, "com_apple_compilers_llvm_clang_1_0__CLANG_INDEX_STORE_ENABLE__DefaultValue": _com_apple_compilers_llvm_clang_1_0__CLANG_INDEX_STORE_ENABLE__DefaultValue, "com_apple_compilers_llvm_clang_1_0__CLANG_INDEX_STORE_PATH__DefaultValue": _com_apple_compilers_llvm_clang_1_0__CLANG_INDEX_STORE_PATH__DefaultValue, @@ -4160,18 +4283,21 @@ XCSPEC_EVALS = { "com_apple_compilers_llvm_clang_1_0__CLANG_MODULE_LSV__Condition": _com_apple_compilers_llvm_clang_1_0__CLANG_MODULE_LSV__Condition, "com_apple_compilers_llvm_clang_1_0__CLANG_MODULE_LSV__DefaultValue": _com_apple_compilers_llvm_clang_1_0__CLANG_MODULE_LSV__DefaultValue, "com_apple_compilers_llvm_clang_1_0__CLANG_OPTIMIZATION_PROFILE_FILE__DefaultValue": _com_apple_compilers_llvm_clang_1_0__CLANG_OPTIMIZATION_PROFILE_FILE__DefaultValue, + "com_apple_compilers_llvm_clang_1_0__CLANG_OTHER_PREFIX_MAPPINGS__Condition": _com_apple_compilers_llvm_clang_1_0__CLANG_OTHER_PREFIX_MAPPINGS__Condition, + "com_apple_compilers_llvm_clang_1_0__CLANG_OTHER_PREFIX_MAPPINGS__DefaultValue": _com_apple_compilers_llvm_clang_1_0__CLANG_OTHER_PREFIX_MAPPINGS__DefaultValue, "com_apple_compilers_llvm_clang_1_0__CLANG_RETAIN_COMMENTS_FROM_SYSTEM_HEADERS__DefaultValue": _com_apple_compilers_llvm_clang_1_0__CLANG_RETAIN_COMMENTS_FROM_SYSTEM_HEADERS__DefaultValue, "com_apple_compilers_llvm_clang_1_0__CLANG_SANITIZER_COVERAGE__Condition": _com_apple_compilers_llvm_clang_1_0__CLANG_SANITIZER_COVERAGE__Condition, "com_apple_compilers_llvm_clang_1_0__CLANG_SANITIZER_COVERAGE__DefaultValue": _com_apple_compilers_llvm_clang_1_0__CLANG_SANITIZER_COVERAGE__DefaultValue, - "com_apple_compilers_llvm_clang_1_0__CLANG_TARGET_TRIPLE_ARCHS__Condition": _com_apple_compilers_llvm_clang_1_0__CLANG_TARGET_TRIPLE_ARCHS__Condition, "com_apple_compilers_llvm_clang_1_0__CLANG_TARGET_TRIPLE_ARCHS__DefaultValue": _com_apple_compilers_llvm_clang_1_0__CLANG_TARGET_TRIPLE_ARCHS__DefaultValue, - "com_apple_compilers_llvm_clang_1_0__CLANG_TARGET_TRIPLE_VARIANTS__Condition": _com_apple_compilers_llvm_clang_1_0__CLANG_TARGET_TRIPLE_VARIANTS__Condition, "com_apple_compilers_llvm_clang_1_0__CLANG_THREAD_SANITIZER__DefaultValue": _com_apple_compilers_llvm_clang_1_0__CLANG_THREAD_SANITIZER__DefaultValue, "com_apple_compilers_llvm_clang_1_0__CLANG_TRIVIAL_AUTO_VAR_INIT__DefaultValue": _com_apple_compilers_llvm_clang_1_0__CLANG_TRIVIAL_AUTO_VAR_INIT__DefaultValue, "com_apple_compilers_llvm_clang_1_0__CLANG_UNDEFINED_BEHAVIOR_SANITIZER_INTEGER__Condition": _com_apple_compilers_llvm_clang_1_0__CLANG_UNDEFINED_BEHAVIOR_SANITIZER_INTEGER__Condition, "com_apple_compilers_llvm_clang_1_0__CLANG_UNDEFINED_BEHAVIOR_SANITIZER_INTEGER__DefaultValue": _com_apple_compilers_llvm_clang_1_0__CLANG_UNDEFINED_BEHAVIOR_SANITIZER_INTEGER__DefaultValue, "com_apple_compilers_llvm_clang_1_0__CLANG_UNDEFINED_BEHAVIOR_SANITIZER_NULLABILITY__Condition": _com_apple_compilers_llvm_clang_1_0__CLANG_UNDEFINED_BEHAVIOR_SANITIZER_NULLABILITY__Condition, "com_apple_compilers_llvm_clang_1_0__CLANG_UNDEFINED_BEHAVIOR_SANITIZER_NULLABILITY__DefaultValue": _com_apple_compilers_llvm_clang_1_0__CLANG_UNDEFINED_BEHAVIOR_SANITIZER_NULLABILITY__DefaultValue, + "com_apple_compilers_llvm_clang_1_0__CLANG_UNDEFINED_BEHAVIOR_SANITIZER_TRAP_ON_SECURITY_ISSUES_OPT__Condition": _com_apple_compilers_llvm_clang_1_0__CLANG_UNDEFINED_BEHAVIOR_SANITIZER_TRAP_ON_SECURITY_ISSUES_OPT__Condition, + "com_apple_compilers_llvm_clang_1_0__CLANG_UNDEFINED_BEHAVIOR_SANITIZER_TRAP_ON_SECURITY_ISSUES_OPT__DefaultValue": _com_apple_compilers_llvm_clang_1_0__CLANG_UNDEFINED_BEHAVIOR_SANITIZER_TRAP_ON_SECURITY_ISSUES_OPT__DefaultValue, + "com_apple_compilers_llvm_clang_1_0__CLANG_UNDEFINED_BEHAVIOR_SANITIZER_TRAP_ON_SECURITY_ISSUES__DefaultValue": _com_apple_compilers_llvm_clang_1_0__CLANG_UNDEFINED_BEHAVIOR_SANITIZER_TRAP_ON_SECURITY_ISSUES__DefaultValue, "com_apple_compilers_llvm_clang_1_0__CLANG_UNDEFINED_BEHAVIOR_SANITIZER__DefaultValue": _com_apple_compilers_llvm_clang_1_0__CLANG_UNDEFINED_BEHAVIOR_SANITIZER__DefaultValue, "com_apple_compilers_llvm_clang_1_0__CLANG_USE_OPTIMIZATION_PROFILE__Condition": _com_apple_compilers_llvm_clang_1_0__CLANG_USE_OPTIMIZATION_PROFILE__Condition, "com_apple_compilers_llvm_clang_1_0__CLANG_USE_OPTIMIZATION_PROFILE__DefaultValue": _com_apple_compilers_llvm_clang_1_0__CLANG_USE_OPTIMIZATION_PROFILE__DefaultValue, @@ -4270,8 +4396,6 @@ XCSPEC_EVALS = { "com_apple_compilers_llvm_clang_1_0__GCC_INPUT_FILETYPE__DefaultValue": _com_apple_compilers_llvm_clang_1_0__GCC_INPUT_FILETYPE__DefaultValue, "com_apple_compilers_llvm_clang_1_0__GCC_INSTRUMENT_PROGRAM_FLOW_ARCS__DefaultValue": _com_apple_compilers_llvm_clang_1_0__GCC_INSTRUMENT_PROGRAM_FLOW_ARCS__DefaultValue, "com_apple_compilers_llvm_clang_1_0__GCC_LINK_WITH_DYNAMIC_LIBRARIES__DefaultValue": _com_apple_compilers_llvm_clang_1_0__GCC_LINK_WITH_DYNAMIC_LIBRARIES__DefaultValue, - "com_apple_compilers_llvm_clang_1_0__GCC_MACOSX_VERSION_MIN__Condition": _com_apple_compilers_llvm_clang_1_0__GCC_MACOSX_VERSION_MIN__Condition, - "com_apple_compilers_llvm_clang_1_0__GCC_MACOSX_VERSION_MIN__DefaultValue": _com_apple_compilers_llvm_clang_1_0__GCC_MACOSX_VERSION_MIN__DefaultValue, "com_apple_compilers_llvm_clang_1_0__GCC_NO_COMMON_BLOCKS__DefaultValue": _com_apple_compilers_llvm_clang_1_0__GCC_NO_COMMON_BLOCKS__DefaultValue, "com_apple_compilers_llvm_clang_1_0__GCC_OBJC_ABI_VERSION__DefaultValue": _com_apple_compilers_llvm_clang_1_0__GCC_OBJC_ABI_VERSION__DefaultValue, "com_apple_compilers_llvm_clang_1_0__GCC_OBJC_LEGACY_DISPATCH__DefaultValue": _com_apple_compilers_llvm_clang_1_0__GCC_OBJC_LEGACY_DISPATCH__DefaultValue, @@ -4337,7 +4461,6 @@ XCSPEC_EVALS = { "com_apple_compilers_llvm_clang_1_0__USE_HEADERMAP__DefaultValue": _com_apple_compilers_llvm_clang_1_0__USE_HEADERMAP__DefaultValue, "com_apple_compilers_llvm_clang_1_0__USE_HEADER_SYMLINKS__DefaultValue": _com_apple_compilers_llvm_clang_1_0__USE_HEADER_SYMLINKS__DefaultValue, "com_apple_compilers_llvm_clang_1_0__WARNING_CFLAGS__DefaultValue": _com_apple_compilers_llvm_clang_1_0__WARNING_CFLAGS__DefaultValue, - "com_apple_compilers_llvm_clang_1_0__arch__Condition": _com_apple_compilers_llvm_clang_1_0__arch__Condition, "com_apple_compilers_llvm_clang_1_0__diagnostic_message_length__DefaultValue": _com_apple_compilers_llvm_clang_1_0__diagnostic_message_length__DefaultValue, "com_apple_compilers_llvm_clang_1_0__print_note_include_stack__DefaultValue": _com_apple_compilers_llvm_clang_1_0__print_note_include_stack__DefaultValue, "com_apple_compilers_model_coredata__DEPLOYMENT_TARGET__DefaultValue": _com_apple_compilers_model_coredata__DEPLOYMENT_TARGET__DefaultValue, @@ -4369,14 +4492,15 @@ XCSPEC_EVALS = { "com_apple_pbx_linkers_ld__LD_DEBUG_VARIANT__Condition": _com_apple_pbx_linkers_ld__LD_DEBUG_VARIANT__Condition, "com_apple_pbx_linkers_ld__LD_DEBUG_VARIANT__DefaultValue": _com_apple_pbx_linkers_ld__LD_DEBUG_VARIANT__DefaultValue, "com_apple_pbx_linkers_ld__LD_DEPENDENCY_INFO_FILE__DefaultValue": _com_apple_pbx_linkers_ld__LD_DEPENDENCY_INFO_FILE__DefaultValue, - "com_apple_pbx_linkers_ld__LD_DEPLOYMENT_TARGET__Condition": _com_apple_pbx_linkers_ld__LD_DEPLOYMENT_TARGET__Condition, - "com_apple_pbx_linkers_ld__LD_DEPLOYMENT_TARGET__DefaultValue": _com_apple_pbx_linkers_ld__LD_DEPLOYMENT_TARGET__DefaultValue, + "com_apple_pbx_linkers_ld__LD_DETERMINISTIC_MODE__DefaultValue": _com_apple_pbx_linkers_ld__LD_DETERMINISTIC_MODE__DefaultValue, "com_apple_pbx_linkers_ld__LD_DONT_RUN_DEDUPLICATION__Condition": _com_apple_pbx_linkers_ld__LD_DONT_RUN_DEDUPLICATION__Condition, "com_apple_pbx_linkers_ld__LD_DONT_RUN_DEDUPLICATION__DefaultValue": _com_apple_pbx_linkers_ld__LD_DONT_RUN_DEDUPLICATION__DefaultValue, "com_apple_pbx_linkers_ld__LD_DYLIB_ALLOWABLE_CLIENTS__DefaultValue": _com_apple_pbx_linkers_ld__LD_DYLIB_ALLOWABLE_CLIENTS__DefaultValue, "com_apple_pbx_linkers_ld__LD_DYLIB_INSTALL_NAME__Condition": _com_apple_pbx_linkers_ld__LD_DYLIB_INSTALL_NAME__Condition, "com_apple_pbx_linkers_ld__LD_DYLIB_INSTALL_NAME__DefaultValue": _com_apple_pbx_linkers_ld__LD_DYLIB_INSTALL_NAME__DefaultValue, + "com_apple_pbx_linkers_ld__LD_ENTRY_POINT__Condition": _com_apple_pbx_linkers_ld__LD_ENTRY_POINT__Condition, "com_apple_pbx_linkers_ld__LD_EXPORT_GLOBAL_SYMBOLS__DefaultValue": _com_apple_pbx_linkers_ld__LD_EXPORT_GLOBAL_SYMBOLS__DefaultValue, + "com_apple_pbx_linkers_ld__LD_EXPORT_SYMBOLS__DefaultValue": _com_apple_pbx_linkers_ld__LD_EXPORT_SYMBOLS__DefaultValue, "com_apple_pbx_linkers_ld__LD_FINAL_OUTPUT_FILE__Condition": _com_apple_pbx_linkers_ld__LD_FINAL_OUTPUT_FILE__Condition, "com_apple_pbx_linkers_ld__LD_FINAL_OUTPUT_FILE__DefaultValue": _com_apple_pbx_linkers_ld__LD_FINAL_OUTPUT_FILE__DefaultValue, "com_apple_pbx_linkers_ld__LD_GENERATE_BITCODE_SYMBOL_MAP__Condition": _com_apple_pbx_linkers_ld__LD_GENERATE_BITCODE_SYMBOL_MAP__Condition, @@ -4386,14 +4510,15 @@ XCSPEC_EVALS = { "com_apple_pbx_linkers_ld__LD_HIDE_BITCODE_SYMBOLS__DefaultValue": _com_apple_pbx_linkers_ld__LD_HIDE_BITCODE_SYMBOLS__DefaultValue, "com_apple_pbx_linkers_ld__LD_LTO_OBJECT_FILE__Condition": _com_apple_pbx_linkers_ld__LD_LTO_OBJECT_FILE__Condition, "com_apple_pbx_linkers_ld__LD_LTO_OBJECT_FILE__DefaultValue": _com_apple_pbx_linkers_ld__LD_LTO_OBJECT_FILE__DefaultValue, + "com_apple_pbx_linkers_ld__LD_MAKE_MERGEABLE__DefaultValue": _com_apple_pbx_linkers_ld__LD_MAKE_MERGEABLE__DefaultValue, "com_apple_pbx_linkers_ld__LD_MAP_FILE_PATH__DefaultValue": _com_apple_pbx_linkers_ld__LD_MAP_FILE_PATH__DefaultValue, "com_apple_pbx_linkers_ld__LD_NO_PIE__DefaultValue": _com_apple_pbx_linkers_ld__LD_NO_PIE__DefaultValue, "com_apple_pbx_linkers_ld__LD_OBJC_ABI_VERSION__DefaultValue": _com_apple_pbx_linkers_ld__LD_OBJC_ABI_VERSION__DefaultValue, + "com_apple_pbx_linkers_ld__LD_OPTIMIZATION_LEVEL__DefaultValue": _com_apple_pbx_linkers_ld__LD_OPTIMIZATION_LEVEL__DefaultValue, "com_apple_pbx_linkers_ld__LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER__DefaultValue": _com_apple_pbx_linkers_ld__LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER__DefaultValue, "com_apple_pbx_linkers_ld__LD_RUNPATH_SEARCH_PATHS__DefaultValue": _com_apple_pbx_linkers_ld__LD_RUNPATH_SEARCH_PATHS__DefaultValue, - "com_apple_pbx_linkers_ld__LD_TARGET_TRIPLE_ARCHS__Condition": _com_apple_pbx_linkers_ld__LD_TARGET_TRIPLE_ARCHS__Condition, + "com_apple_pbx_linkers_ld__LD_SUPPRESS_WARNINGS__DefaultValue": _com_apple_pbx_linkers_ld__LD_SUPPRESS_WARNINGS__DefaultValue, "com_apple_pbx_linkers_ld__LD_TARGET_TRIPLE_ARCHS__DefaultValue": _com_apple_pbx_linkers_ld__LD_TARGET_TRIPLE_ARCHS__DefaultValue, - "com_apple_pbx_linkers_ld__LD_TARGET_TRIPLE_VARIANTS__Condition": _com_apple_pbx_linkers_ld__LD_TARGET_TRIPLE_VARIANTS__Condition, "com_apple_pbx_linkers_ld__LD_THREAD_SANITIZER__DefaultValue": _com_apple_pbx_linkers_ld__LD_THREAD_SANITIZER__DefaultValue, "com_apple_pbx_linkers_ld__LD_VERIFY_BITCODE__Condition": _com_apple_pbx_linkers_ld__LD_VERIFY_BITCODE__Condition, "com_apple_pbx_linkers_ld__LD_VERIFY_BITCODE__DefaultValue": _com_apple_pbx_linkers_ld__LD_VERIFY_BITCODE__DefaultValue, @@ -4405,10 +4530,10 @@ XCSPEC_EVALS = { "com_apple_pbx_linkers_ld__PRESERVE_DEAD_CODE_INITS_AND_TERMS__DefaultValue": _com_apple_pbx_linkers_ld__PRESERVE_DEAD_CODE_INITS_AND_TERMS__DefaultValue, "com_apple_pbx_linkers_ld__UNEXPORTED_SYMBOLS_FILE__Condition": _com_apple_pbx_linkers_ld__UNEXPORTED_SYMBOLS_FILE__Condition, "com_apple_pbx_linkers_ld____INPUT_FILE_LIST_PATH____DefaultValue": _com_apple_pbx_linkers_ld____INPUT_FILE_LIST_PATH____DefaultValue, - "com_apple_pbx_linkers_ld__arch__Condition": _com_apple_pbx_linkers_ld__arch__Condition, "com_apple_xcode_tools_ibtool_compiler__IBC_COMPILER_AUTO_ACTIVATE_CUSTOM_FONTS__DefaultValue": _com_apple_xcode_tools_ibtool_compiler__IBC_COMPILER_AUTO_ACTIVATE_CUSTOM_FONTS__DefaultValue, "com_apple_xcode_tools_ibtool_compiler__IBC_COMPILER_USE_NIBKEYEDARCHIVER_FOR_MACOS__DefaultValue": _com_apple_xcode_tools_ibtool_compiler__IBC_COMPILER_USE_NIBKEYEDARCHIVER_FOR_MACOS__DefaultValue, "com_apple_xcode_tools_ibtool_compiler__IBC_ERRORS__DefaultValue": _com_apple_xcode_tools_ibtool_compiler__IBC_ERRORS__DefaultValue, + "com_apple_xcode_tools_ibtool_compiler__IBC_EXEC__DefaultValue": _com_apple_xcode_tools_ibtool_compiler__IBC_EXEC__DefaultValue, "com_apple_xcode_tools_ibtool_compiler__IBC_FLATTEN_NIBS__DefaultValue": _com_apple_xcode_tools_ibtool_compiler__IBC_FLATTEN_NIBS__DefaultValue, "com_apple_xcode_tools_ibtool_compiler__IBC_MODULE__DefaultValue": _com_apple_xcode_tools_ibtool_compiler__IBC_MODULE__DefaultValue, "com_apple_xcode_tools_ibtool_compiler__IBC_NOTICES__DefaultValue": _com_apple_xcode_tools_ibtool_compiler__IBC_NOTICES__DefaultValue, @@ -4420,6 +4545,7 @@ XCSPEC_EVALS = { "com_apple_xcode_tools_ibtool_compiler__XIB_COMPILER_INFOPLIST_CONTENT_FILE__DefaultValue": _com_apple_xcode_tools_ibtool_compiler__XIB_COMPILER_INFOPLIST_CONTENT_FILE__DefaultValue, "com_apple_xcode_tools_ibtool_compiler__build_file_compiler_flags__DefaultValue": _com_apple_xcode_tools_ibtool_compiler__build_file_compiler_flags__DefaultValue, "com_apple_xcode_tools_swift_compiler__CLANG_COVERAGE_MAPPING_LINKER_ARGS__DefaultValue": _com_apple_xcode_tools_swift_compiler__CLANG_COVERAGE_MAPPING_LINKER_ARGS__DefaultValue, + "com_apple_xcode_tools_swift_compiler__CLANG_COVERAGE_MAPPING__Condition": _com_apple_xcode_tools_swift_compiler__CLANG_COVERAGE_MAPPING__Condition, "com_apple_xcode_tools_swift_compiler__CLANG_COVERAGE_MAPPING__DefaultValue": _com_apple_xcode_tools_swift_compiler__CLANG_COVERAGE_MAPPING__DefaultValue, "com_apple_xcode_tools_swift_compiler__SWIFT_ACTIVE_COMPILATION_CONDITIONS__DefaultValue": _com_apple_xcode_tools_swift_compiler__SWIFT_ACTIVE_COMPILATION_CONDITIONS__DefaultValue, "com_apple_xcode_tools_swift_compiler__SWIFT_ADDRESS_SANITIZER_ALLOW_ERROR_RECOVERY__Condition": _com_apple_xcode_tools_swift_compiler__SWIFT_ADDRESS_SANITIZER_ALLOW_ERROR_RECOVERY__Condition, @@ -4427,17 +4553,22 @@ XCSPEC_EVALS = { "com_apple_xcode_tools_swift_compiler__SWIFT_ADDRESS_SANITIZER__DefaultValue": _com_apple_xcode_tools_swift_compiler__SWIFT_ADDRESS_SANITIZER__DefaultValue, "com_apple_xcode_tools_swift_compiler__SWIFT_BITCODE_GENERATION_MODE__Condition": _com_apple_xcode_tools_swift_compiler__SWIFT_BITCODE_GENERATION_MODE__Condition, "com_apple_xcode_tools_swift_compiler__SWIFT_BITCODE_GENERATION_MODE__DefaultValue": _com_apple_xcode_tools_swift_compiler__SWIFT_BITCODE_GENERATION_MODE__DefaultValue, + "com_apple_xcode_tools_swift_compiler__SWIFT_CLANG_CXX_LANGUAGE_STANDARD__DefaultValue": _com_apple_xcode_tools_swift_compiler__SWIFT_CLANG_CXX_LANGUAGE_STANDARD__DefaultValue, "com_apple_xcode_tools_swift_compiler__SWIFT_COMPILATION_MODE__Condition": _com_apple_xcode_tools_swift_compiler__SWIFT_COMPILATION_MODE__Condition, "com_apple_xcode_tools_swift_compiler__SWIFT_COMPILATION_MODE__DefaultValue": _com_apple_xcode_tools_swift_compiler__SWIFT_COMPILATION_MODE__DefaultValue, "com_apple_xcode_tools_swift_compiler__SWIFT_CROSS_MODULE_OPTIMIZATION__DefaultValue": _com_apple_xcode_tools_swift_compiler__SWIFT_CROSS_MODULE_OPTIMIZATION__DefaultValue, "com_apple_xcode_tools_swift_compiler__SWIFT_DEPLOYMENT_TARGET__DefaultValue": _com_apple_xcode_tools_swift_compiler__SWIFT_DEPLOYMENT_TARGET__DefaultValue, "com_apple_xcode_tools_swift_compiler__SWIFT_DISABLE_SAFETY_CHECKS__DefaultValue": _com_apple_xcode_tools_swift_compiler__SWIFT_DISABLE_SAFETY_CHECKS__DefaultValue, + "com_apple_xcode_tools_swift_compiler__SWIFT_EMIT_CONST_VALUE_PROTOCOLS__DefaultValue": _com_apple_xcode_tools_swift_compiler__SWIFT_EMIT_CONST_VALUE_PROTOCOLS__DefaultValue, "com_apple_xcode_tools_swift_compiler__SWIFT_EMIT_MODULE_INTERFACE__DefaultValue": _com_apple_xcode_tools_swift_compiler__SWIFT_EMIT_MODULE_INTERFACE__DefaultValue, "com_apple_xcode_tools_swift_compiler__SWIFT_ENABLE_APP_EXTENSION__DefaultValue": _com_apple_xcode_tools_swift_compiler__SWIFT_ENABLE_APP_EXTENSION__DefaultValue, "com_apple_xcode_tools_swift_compiler__SWIFT_ENABLE_BARE_SLASH_REGEX__DefaultValue": _com_apple_xcode_tools_swift_compiler__SWIFT_ENABLE_BARE_SLASH_REGEX__DefaultValue, "com_apple_xcode_tools_swift_compiler__SWIFT_ENABLE_BATCH_MODE__DefaultValue": _com_apple_xcode_tools_swift_compiler__SWIFT_ENABLE_BATCH_MODE__DefaultValue, + "com_apple_xcode_tools_swift_compiler__SWIFT_ENABLE_EMIT_CONST_VALUES__DefaultValue": _com_apple_xcode_tools_swift_compiler__SWIFT_ENABLE_EMIT_CONST_VALUES__DefaultValue, "com_apple_xcode_tools_swift_compiler__SWIFT_ENABLE_INCREMENTAL_COMPILATION__DefaultValue": _com_apple_xcode_tools_swift_compiler__SWIFT_ENABLE_INCREMENTAL_COMPILATION__DefaultValue, "com_apple_xcode_tools_swift_compiler__SWIFT_ENABLE_LIBRARY_EVOLUTION__DefaultValue": _com_apple_xcode_tools_swift_compiler__SWIFT_ENABLE_LIBRARY_EVOLUTION__DefaultValue, + "com_apple_xcode_tools_swift_compiler__SWIFT_ENABLE_OPAQUE_TYPE_ERASURE__Condition": _com_apple_xcode_tools_swift_compiler__SWIFT_ENABLE_OPAQUE_TYPE_ERASURE__Condition, + "com_apple_xcode_tools_swift_compiler__SWIFT_ENABLE_OPAQUE_TYPE_ERASURE__DefaultValue": _com_apple_xcode_tools_swift_compiler__SWIFT_ENABLE_OPAQUE_TYPE_ERASURE__DefaultValue, "com_apple_xcode_tools_swift_compiler__SWIFT_ENABLE_TESTABILITY__DefaultValue": _com_apple_xcode_tools_swift_compiler__SWIFT_ENABLE_TESTABILITY__DefaultValue, "com_apple_xcode_tools_swift_compiler__SWIFT_ENFORCE_EXCLUSIVE_ACCESS__DefaultValue": _com_apple_xcode_tools_swift_compiler__SWIFT_ENFORCE_EXCLUSIVE_ACCESS__DefaultValue, "com_apple_xcode_tools_swift_compiler__SWIFT_EXEC__DefaultValue": _com_apple_xcode_tools_swift_compiler__SWIFT_EXEC__DefaultValue, @@ -4453,7 +4584,9 @@ XCSPEC_EVALS = { "com_apple_xcode_tools_swift_compiler__SWIFT_MODULE_NAME__DefaultValue": _com_apple_xcode_tools_swift_compiler__SWIFT_MODULE_NAME__DefaultValue, "com_apple_xcode_tools_swift_compiler__SWIFT_OBJC_BRIDGING_HEADER__DefaultValue": _com_apple_xcode_tools_swift_compiler__SWIFT_OBJC_BRIDGING_HEADER__DefaultValue, "com_apple_xcode_tools_swift_compiler__SWIFT_OBJC_INTERFACE_HEADER_NAME__DefaultValue": _com_apple_xcode_tools_swift_compiler__SWIFT_OBJC_INTERFACE_HEADER_NAME__DefaultValue, + "com_apple_xcode_tools_swift_compiler__SWIFT_OBJC_INTEROP_MODE__DefaultValue": _com_apple_xcode_tools_swift_compiler__SWIFT_OBJC_INTEROP_MODE__DefaultValue, "com_apple_xcode_tools_swift_compiler__SWIFT_OPTIMIZATION_LEVEL__DefaultValue": _com_apple_xcode_tools_swift_compiler__SWIFT_OPTIMIZATION_LEVEL__DefaultValue, + "com_apple_xcode_tools_swift_compiler__SWIFT_PACKAGE_NAME__Condition": _com_apple_xcode_tools_swift_compiler__SWIFT_PACKAGE_NAME__Condition, "com_apple_xcode_tools_swift_compiler__SWIFT_PRECOMPILE_BRIDGING_HEADER__DefaultValue": _com_apple_xcode_tools_swift_compiler__SWIFT_PRECOMPILE_BRIDGING_HEADER__DefaultValue, "com_apple_xcode_tools_swift_compiler__SWIFT_REFLECTION_METADATA_LEVEL__DefaultValue": _com_apple_xcode_tools_swift_compiler__SWIFT_REFLECTION_METADATA_LEVEL__DefaultValue, "com_apple_xcode_tools_swift_compiler__SWIFT_RESPONSE_FILE_PATH__DefaultValue": _com_apple_xcode_tools_swift_compiler__SWIFT_RESPONSE_FILE_PATH__DefaultValue, @@ -4466,6 +4599,7 @@ XCSPEC_EVALS = { "com_apple_xcode_tools_swift_compiler__SWIFT_TREAT_WARNINGS_AS_ERRORS__DefaultValue": _com_apple_xcode_tools_swift_compiler__SWIFT_TREAT_WARNINGS_AS_ERRORS__DefaultValue, "com_apple_xcode_tools_swift_compiler__SWIFT_USE_PARALLEL_WHOLE_MODULE_OPTIMIZATION__DefaultValue": _com_apple_xcode_tools_swift_compiler__SWIFT_USE_PARALLEL_WHOLE_MODULE_OPTIMIZATION__DefaultValue, "com_apple_xcode_tools_swift_compiler__SWIFT_USE_PARALLEL_WMO_TARGETS__DefaultValue": _com_apple_xcode_tools_swift_compiler__SWIFT_USE_PARALLEL_WMO_TARGETS__DefaultValue, + "com_apple_xcode_tools_swift_compiler__SWIFT_VALIDATE_CLANG_MODULES_ONCE_PER_BUILD_SESSION__DefaultValue": _com_apple_xcode_tools_swift_compiler__SWIFT_VALIDATE_CLANG_MODULES_ONCE_PER_BUILD_SESSION__DefaultValue, "com_apple_xcode_tools_swift_compiler__SWIFT_VERSION__DefaultValue": _com_apple_xcode_tools_swift_compiler__SWIFT_VERSION__DefaultValue, "com_apple_xcode_tools_swift_compiler__SWIFT_WHOLE_MODULE_OPTIMIZATION__DefaultValue": _com_apple_xcode_tools_swift_compiler__SWIFT_WHOLE_MODULE_OPTIMIZATION__DefaultValue, "com_apple_xcode_tools_swift_compiler____SWIFT_ENFORCE_EXCLUSIVE_ACCESS_DEBUG_ENFORCEMENT_DEBUG__Condition": _com_apple_xcode_tools_swift_compiler____SWIFT_ENFORCE_EXCLUSIVE_ACCESS_DEBUG_ENFORCEMENT_DEBUG__Condition, diff --git a/data/xcspecs.bzl b/data/xcspecs.bzl index f7375919d..432559404 100644 --- a/data/xcspecs.bzl +++ b/data/xcspecs.bzl @@ -1,7 +1,7 @@ """ ############################################################################ # THIS IS GENERATED CODE # -# Extracted from Xcode 14.2 # +# Extracted from Xcode 15.1 # # To update, in rules_ios run `bazel run data_generators:extract_xcspecs` # ############################################################################ """ @@ -34,21 +34,14 @@ SETTINGS = { "-target", "$(value)-$(LLVM_TARGET_TRIPLE_VENDOR)-$(LLVM_TARGET_TRIPLE_OS_VERSION)$(LLVM_TARGET_TRIPLE_SUFFIX)", ], - "Condition": "com_apple_compilers_llvm_clang_1_0__CLANG_TARGET_TRIPLE_ARCHS__Condition", "DefaultValue": "com_apple_compilers_llvm_clang_1_0__CLANG_TARGET_TRIPLE_ARCHS__DefaultValue", "Type": "StringList", }, "CLANG_TARGET_TRIPLE_VARIANTS": { "CommandLineFlag": "-target-variant", - "Condition": "com_apple_compilers_llvm_clang_1_0__CLANG_TARGET_TRIPLE_VARIANTS__Condition", "ConditionFlavors": ["arch"], "Type": "StringList", }, - "arch": { - "CommandLineFlag": "-arch", - "Condition": "com_apple_compilers_llvm_clang_1_0__arch__Condition", - "Type": "String", - }, "CLANG_TOOLCHAIN_FLAGS": {"CommandLineArgs": ["$(value)"], "Type": "StringList"}, "diagnostic_message_length": { "CommandLinePrefixFlag": "-fmessage-length=", @@ -77,7 +70,10 @@ SETTINGS = { "Type": "Boolean", }, "CLANG_COLOR_DIAGNOSTICS": { - "CommandLineArgs": {"NO": [], "YES": ["-fcolor-diagnostics"]}, + "CommandLineArgs": { + "NO": ["-fno-color-diagnostics"], + "YES": ["-fcolor-diagnostics"], + }, "DefaultValue": "com_apple_compilers_llvm_clang_1_0__CLANG_COLOR_DIAGNOSTICS__DefaultValue", "Type": "Boolean", }, @@ -128,6 +124,8 @@ SETTINGS = { "gnu99", "c11", "gnu11", + "c17", + "gnu17", "compiler-default", ], }, @@ -136,10 +134,10 @@ SETTINGS = { "CommandLineArgs": { "<>": ["-std=$(value)"], "c++0x": ["-std=c++11"], - "c++17": ["-std=c++1z"], + "c++23": ["-std=c++2b"], "compiler-default": [], "gnu++0x": ["-std=gnu++11"], - "gnu++17": ["-std=gnu++1z"], + "gnu++23": ["-std=gnu++2b"], }, "DefaultValue": "com_apple_compilers_llvm_clang_1_0__CLANG_CXX_LANGUAGE_STANDARD__DefaultValue", "FileTypes": ["sourcecode.cpp.cpp", "sourcecode.cpp.objcpp"], @@ -155,6 +153,8 @@ SETTINGS = { "gnu++17", "c++20", "gnu++20", + "c++23", + "gnu++23", "compiler-default", ], }, @@ -353,6 +353,12 @@ SETTINGS = { "FileTypes": ["sourcecode.c.c"], "Type": "Boolean", }, + "CLANG_ENABLE_BOUNDS_SAFETY": { + "CommandLineArgs": {"NO": [], "YES": ["-fbounds-safety"]}, + "DefaultValue": "com_apple_compilers_llvm_clang_1_0__CLANG_ENABLE_BOUNDS_SAFETY__DefaultValue", + "FileTypes": ["sourcecode.c.c"], + "Type": "Boolean", + }, "CLANG_ENABLE_APP_EXTENSION": { "AdditionalLinkerArgs": { "NO": [], @@ -921,7 +927,7 @@ SETTINGS = { }, "GCC_WARN_INHIBIT_ALL_WARNINGS": { "Category": "WarningsPolicy", - "CommandLineArgs": {"NO": [], "YES": ["-w"]}, + "CommandLineFlag": "-w", "DefaultValue": "com_apple_compilers_llvm_clang_1_0__GCC_WARN_INHIBIT_ALL_WARNINGS__DefaultValue", "Type": "Boolean", }, @@ -1182,10 +1188,7 @@ SETTINGS = { "default": [], "pattern": ["-ftrivial-auto-var-init=pattern"], "uninitialized": ["-ftrivial-auto-var-init=uninitialized"], - "zero": [ - "-ftrivial-auto-var-init=zero", - "-enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang", - ], + "zero": ["-ftrivial-auto-var-init=zero"], }, "DefaultValue": "com_apple_compilers_llvm_clang_1_0__CLANG_TRIVIAL_AUTO_VAR_INIT__DefaultValue", "FileTypes": [ @@ -1350,6 +1353,16 @@ SETTINGS = { "FileTypes": ["sourcecode.c.objc", "sourcecode.cpp.objcpp"], "Type": "Boolean", }, + "CLANG_ENABLE_OBJC_ARC_EXCEPTIONS": { + "Category": "LanguageObjC", + "CommandLineArgs": { + "NO": [], + "YES": ["-fobjc-arc-exceptions"], + }, + "DefaultValue": "com_apple_compilers_llvm_clang_1_0__CLANG_ENABLE_OBJC_ARC_EXCEPTIONS__DefaultValue", + "FileTypes": ["sourcecode.c.objc", "sourcecode.cpp.objcpp"], + "Type": "Boolean", + }, "GCC_CW_ASM_SYNTAX": { "Architectures": ["i386", "x86_64"], "Category": "Language", @@ -1434,15 +1447,6 @@ SETTINGS = { ], "Type": "Boolean", }, - "GCC_MACOSX_VERSION_MIN": { - "CommandLineArgs": { - "": [], - "<>": ["-$(DEPLOYMENT_TARGET_CLANG_FLAG_NAME)=$(value)"], - }, - "Condition": "com_apple_compilers_llvm_clang_1_0__GCC_MACOSX_VERSION_MIN__Condition", - "DefaultValue": "com_apple_compilers_llvm_clang_1_0__GCC_MACOSX_VERSION_MIN__DefaultValue", - "Type": "String", - }, "GCC_DEBUG_INFORMATION_FORMAT": { "CommandLineArgs": { "<>": [], @@ -1772,13 +1776,7 @@ SETTINGS = { "Type": "Boolean", }, "CLANG_ENABLE_CODE_COVERAGE": { - "Category": "CodeGeneration", "DefaultValue": "com_apple_compilers_llvm_clang_1_0__CLANG_ENABLE_CODE_COVERAGE__DefaultValue", - "Description": "Enables building with code coverage " + - "instrumentation. This is only used when the build " + - "has code coverage enabled, which is typically " + - "done via the Xcode scheme settings.", - "DisplayName": "Enable Code Coverage Support", "Type": "Boolean", }, "CLANG_COVERAGE_MAPPING": { @@ -1925,6 +1923,29 @@ SETTINGS = { "DefaultValue": "com_apple_compilers_llvm_clang_1_0__CLANG_UNDEFINED_BEHAVIOR_SANITIZER_NULLABILITY__DefaultValue", "Type": "Boolean", }, + "CLANG_UNDEFINED_BEHAVIOR_SANITIZER_TRAP_ON_SECURITY_ISSUES": { + "CommandLineArgs": { + "NO": [], + "YES": [ + "-fsanitize=signed-integer-overflow,unsigned-integer-overflow,implicit-conversion,bounds,pointer-overflow", + "-fsanitize-trap=signed-integer-overflow,unsigned-integer-overflow,implicit-conversion,bounds,pointer-overflow", + ], + }, + "DefaultValue": "com_apple_compilers_llvm_clang_1_0__CLANG_UNDEFINED_BEHAVIOR_SANITIZER_TRAP_ON_SECURITY_ISSUES__DefaultValue", + "Type": "Boolean", + }, + "CLANG_UNDEFINED_BEHAVIOR_SANITIZER_TRAP_ON_SECURITY_ISSUES_OPT": { + "CommandLineArgs": { + "NO": [], + "YES": [ + "-fsanitize=object-size", + "-fsanitize-trap=object-size", + ], + }, + "Condition": "com_apple_compilers_llvm_clang_1_0__CLANG_UNDEFINED_BEHAVIOR_SANITIZER_TRAP_ON_SECURITY_ISSUES_OPT__Condition", + "DefaultValue": "com_apple_compilers_llvm_clang_1_0__CLANG_UNDEFINED_BEHAVIOR_SANITIZER_TRAP_ON_SECURITY_ISSUES_OPT__DefaultValue", + "Type": "Boolean", + }, "CLANG_INDEX_STORE_PATH": { "DefaultValue": "com_apple_compilers_llvm_clang_1_0__CLANG_INDEX_STORE_PATH__DefaultValue", "Type": "Path", @@ -1970,6 +1991,24 @@ SETTINGS = { "CommandLineFlag": "-arcmt-migrate-report-output", "Type": "Path", }, + "CLANG_ENABLE_PREFIX_MAPPING": { + "CommandLineArgs": { + "NO": [], + "YES": [ + "-fdepscan-prefix-map-sdk=/^sdk", + "-fdepscan-prefix-map-toolchain=/^toolchain", + "-fdepscan-prefix-map=$(DEVELOPER_DIR)=/^xcode", + ], + }, + "Condition": "com_apple_compilers_llvm_clang_1_0__CLANG_ENABLE_PREFIX_MAPPING__Condition", + "Type": "Boolean", + }, + "CLANG_OTHER_PREFIX_MAPPINGS": { + "CommandLineArgs": ["-fdepscan-prefix-map=$(value)"], + "Condition": "com_apple_compilers_llvm_clang_1_0__CLANG_OTHER_PREFIX_MAPPINGS__Condition", + "DefaultValue": "com_apple_compilers_llvm_clang_1_0__CLANG_OTHER_PREFIX_MAPPINGS__DefaultValue", + "Type": "StringList", + }, }, "PatternsOfFlagsNotAffectingPrecomps": [ "-v", @@ -1983,6 +2022,7 @@ SETTINGS = { "-fmacro-backtrace-limit*", "-fmessage-length*", "-fcolor-diagnostics", + "-fno-color-diagnostics", "-fvectorize", "-flto", "-fstrict-aliasing", @@ -2148,18 +2188,22 @@ SETTINGS = { "IsAbstract": "Yes", "Name": "Ld", "Options": { + "LD_DETERMINISTIC_MODE": { + "CommandLineArgs": {"NO": [], "YES": ["-Xlinker", "-reproducible"]}, + "DefaultValue": "com_apple_pbx_linkers_ld__LD_DETERMINISTIC_MODE__DefaultValue", + "SupportedVersionRanges": ["804"], + "Type": "Boolean", + }, "LD_TARGET_TRIPLE_ARCHS": { "CommandLineArgs": [ "-target", "$(value)-$(LLVM_TARGET_TRIPLE_VENDOR)-$(LLVM_TARGET_TRIPLE_OS_VERSION)$(LLVM_TARGET_TRIPLE_SUFFIX)", ], - "Condition": "com_apple_pbx_linkers_ld__LD_TARGET_TRIPLE_ARCHS__Condition", "DefaultValue": "com_apple_pbx_linkers_ld__LD_TARGET_TRIPLE_ARCHS__DefaultValue", "Type": "StringList", }, "LD_TARGET_TRIPLE_VARIANTS": { "CommandLineFlag": "-target-variant", - "Condition": "com_apple_pbx_linkers_ld__LD_TARGET_TRIPLE_VARIANTS__Condition", "ConditionFlavors": ["arch"], "Type": "StringList", }, @@ -2168,11 +2212,6 @@ SETTINGS = { "ConditionFlavors": ["arch"], "Type": "StringList", }, - "arch": { - "CommandLineFlag": "-arch", - "Condition": "com_apple_pbx_linkers_ld__arch__Condition", - "Type": "String", - }, "MACH_O_TYPE": { "Type": "Enumeration", "Values": [ @@ -2182,6 +2221,16 @@ SETTINGS = { {"CommandLineFlag": "-r", "Value": "mh_object"}, ], }, + "LD_OPTIMIZATION_LEVEL": { + "CommandLinePrefixFlag": "-O", + "DefaultValue": "com_apple_pbx_linkers_ld__LD_OPTIMIZATION_LEVEL__DefaultValue", + "Type": "String", + }, + "LD_SUPPRESS_WARNINGS": { + "CommandLineFlag": "-w", + "DefaultValue": "com_apple_pbx_linkers_ld__LD_SUPPRESS_WARNINGS__DefaultValue", + "Type": "Boolean", + }, "LIBRARY_SEARCH_PATHS": { "CommandLinePrefixFlag": "-L", "FlattenRecursiveSearchPathsInValue": "Yes", @@ -2219,6 +2268,11 @@ SETTINGS = { "Type": "Boolean", }, "INIT_ROUTINE": {"CommandLineFlag": "-init", "Type": "String"}, + "LD_EXPORT_SYMBOLS": { + "CommandLineArgs": {"NO": ["-Xlinker", "-no_exported_symbols"], "YES": []}, + "DefaultValue": "com_apple_pbx_linkers_ld__LD_EXPORT_SYMBOLS__DefaultValue", + "Type": "Boolean", + }, "EXPORTED_SYMBOLS_FILE": { "CommandLineFlag": "-exported_symbols_list", "Condition": "com_apple_pbx_linkers_ld__EXPORTED_SYMBOLS_FILE__Condition", @@ -2288,16 +2342,6 @@ SETTINGS = { "DefaultValue": "com_apple_pbx_linkers_ld__LINK_WITH_STANDARD_LIBRARIES__DefaultValue", "Type": "Boolean", }, - "LD_DEPLOYMENT_TARGET": { - "CommandLineArgs": { - "": [], - "<>": ["-$(DEPLOYMENT_TARGET_CLANG_FLAG_NAME)=$(value)"], - }, - "Condition": "com_apple_pbx_linkers_ld__LD_DEPLOYMENT_TARGET__Condition", - "DefaultValue": "com_apple_pbx_linkers_ld__LD_DEPLOYMENT_TARGET__DefaultValue", - "SetValueInEnvironmentVariable": "$(DEPLOYMENT_TARGET_CLANG_ENV_NAME)", - "Type": "String", - }, "KEEP_PRIVATE_EXTERNS": { "CommandLineFlag": "-keep_private_externs", "DefaultValue": "com_apple_pbx_linkers_ld__KEEP_PRIVATE_EXTERNS__DefaultValue", @@ -2466,6 +2510,16 @@ SETTINGS = { "DefaultValue": "com_apple_pbx_linkers_ld__LD_DYLIB_ALLOWABLE_CLIENTS__DefaultValue", "Type": "StringList", }, + "LD_MAKE_MERGEABLE": { + "CommandLineArgs": {"NO": [], "YES": ["-Xlinker", "-make_mergeable"]}, + "DefaultValue": "com_apple_pbx_linkers_ld__LD_MAKE_MERGEABLE__DefaultValue", + "Type": "Boolean", + }, + "LD_ENTRY_POINT": { + "CommandLineArgs": {"": [], "<>": ["-e", "$(value)"]}, + "Condition": "com_apple_pbx_linkers_ld__LD_ENTRY_POINT__Condition", + "Type": "String", + }, "AdditionalCommandLineArguments": {"CommandLinePrefixFlag": "", "Type": "StringList"}, "ALL_OTHER_LDFLAGS": { "CommandLinePrefixFlag": "", @@ -2492,7 +2546,7 @@ SETTINGS = { }, "com.apple.xcode.tools.ibtool.compiler": { "Class": "XCCompilerSpecificationIbtool", - "CommandLine": "ibtool [options] [special-args] --output-format human-readable-text --compile " + + "CommandLine": "$(IBC_EXEC) [options] [special-args] --output-format human-readable-text --compile " + "$(ProductResourcesDir)/$(InputFileBase).nib $(InputFile)", "CommandOutputParser": [ ["^([^:]*):([^:]*): warning: (.*)$", "emit-warning"], @@ -2520,6 +2574,10 @@ SETTINGS = { "MightNotEmitAllOutputs": "YES", "Name": "Interface Builder XIB Compiler", "Options": { + "IBC_EXEC": { + "DefaultValue": "com_apple_xcode_tools_ibtool_compiler__IBC_EXEC__DefaultValue", + "Type": "String", + }, "IBC_FLATTEN_NIBS": { "Category": "IBC_COMPILER_OPTIONS", "CommandLineArgs": {"NO": ["--flatten", "NO"], "YES": []}, @@ -2718,20 +2776,20 @@ SETTINGS = { "DefaultValue": "com_apple_xcode_tools_swift_compiler__SWIFT_OBJC_INTERFACE_HEADER_NAME__DefaultValue", "Description": "Name to use for the header that is " + "generated by the Swift compiler for use " + - "in `#import` statements in Objective-C.", - "DisplayName": "Objective-C Generated Interface Header " + - "Name", + "in `#import` statements in Objective-C or " + + "C++.", + "DisplayName": "Generated Header Name", "Type": "String", }, "SWIFT_INSTALL_OBJC_HEADER": { "Category": "General", "DefaultValue": "com_apple_xcode_tools_swift_compiler__SWIFT_INSTALL_OBJC_HEADER__DefaultValue", - "Description": "For frameworks, install the Objective-C " + - "compatibility header describing bridged Swift " + - "classes into the `PUBLIC_HEADERS_FOLDER_PATH` so " + - "they may be accessed from Objective-C code using " + - "the framework. Defaults to `YES`.", - "DisplayName": "Install Objective-C Compatibility Header", + "Description": "For frameworks, install the C++/Objective-C " + + "generated header describing bridged Swift types " + + "into the `PUBLIC_HEADERS_FOLDER_PATH` so they " + + "may be accessed from Objective-C or C++ code " + + "using the framework. Defaults to `YES`.", + "DisplayName": "Install Generated Header", "Type": "Boolean", }, "SWIFT_INSTALL_MODULE": { @@ -2828,6 +2886,14 @@ SETTINGS = { "Type": "PathList", }, "FRAMEWORK_SEARCH_PATHS": {"FlattenRecursiveSearchPathsInValue": "Yes", "Type": "PathList"}, + "SWIFT_PACKAGE_NAME": { + "Category": "General", + "Condition": "com_apple_xcode_tools_swift_compiler__SWIFT_PACKAGE_NAME__Condition", + "Description": "An identifier that allows grouping of modules with " + + "access to symbols with a package access modifier.", + "DisplayName": "Package Access Identifier", + "Type": "String", + }, "SWIFT_RESPONSE_FILE_PATH": { "CommandLineArgs": {"": [], "<>": "@$(value)"}, "DefaultValue": "com_apple_xcode_tools_swift_compiler__SWIFT_RESPONSE_FILE_PATH__DefaultValue", @@ -2890,6 +2956,23 @@ SETTINGS = { "DisplayName": "Enable Bare Slash Regex Literals", "Type": "Boolean", }, + "SWIFT_ENABLE_EMIT_CONST_VALUES": { + "Category": "Language", + "DefaultValue": "com_apple_xcode_tools_swift_compiler__SWIFT_ENABLE_EMIT_CONST_VALUES__DefaultValue", + "Description": "Emit the extracted compile-time known " + + "values from the Swift compiler " + + "(-emit-const-values)", + "DisplayName": "Emit Swift const values", + "Type": "Boolean", + }, + "SWIFT_EMIT_CONST_VALUE_PROTOCOLS": { + "DefaultValue": "com_apple_xcode_tools_swift_compiler__SWIFT_EMIT_CONST_VALUE_PROTOCOLS__DefaultValue", + "Description": "A list of protocol names whose " + + "conformances the Swift compiler is to " + + "emit compile-time-known values for.", + "DisplayName": "Const value emission protocol list", + "Type": "StringList", + }, "SWIFT_STRICT_CONCURRENCY": { "Category": "Language", "CommandLineArgs": { @@ -2901,11 +2984,28 @@ SETTINGS = { "Type": "Enumeration", "Values": ["minimal", "targeted", "complete"], }, + "SWIFT_OBJC_INTEROP_MODE": { + "Category": "Language", + "CommandLineArgs": { + "objc": "", + "objcxx": "-cxx-interoperability-mode=default", + }, + "DefaultValue": "com_apple_xcode_tools_swift_compiler__SWIFT_OBJC_INTEROP_MODE__DefaultValue", + "Description": "Determines whether Swift can interoperate with C++ " + + "in addition to Objective-C.", + "DisplayName": "C++ and Objective-C Interoperability", + "Type": "Enumeration", + "Values": ["objcxx", "objc"], + }, "GCC_GENERATE_DEBUGGING_SYMBOLS": { "CommandLineArgs": {"NO": [], "YES": ["-g"]}, "Type": "Boolean", }, "CLANG_MODULE_CACHE_PATH": {"CommandLineFlag": "-module-cache-path", "Type": "Path"}, + "SWIFT_VALIDATE_CLANG_MODULES_ONCE_PER_BUILD_SESSION": { + "DefaultValue": "com_apple_xcode_tools_swift_compiler__SWIFT_VALIDATE_CLANG_MODULES_ONCE_PER_BUILD_SESSION__DefaultValue", + "Type": "Boolean", + }, "SWIFT_SERIALIZE_DEBUGGING_OPTIONS": { "CommandLineArgs": { "NO": [ @@ -2947,6 +3047,7 @@ SETTINGS = { "-profile-generate", ], }, + "Condition": "com_apple_xcode_tools_swift_compiler__CLANG_COVERAGE_MAPPING__Condition", "DefaultValue": "com_apple_xcode_tools_swift_compiler__CLANG_COVERAGE_MAPPING__DefaultValue", "Type": "Boolean", }, @@ -3022,7 +3123,7 @@ SETTINGS = { }, "SWIFT_SUPPRESS_WARNINGS": { "Category": "Warnings Policies", - "CommandLineArgs": {"NO": [], "YES": ["-suppress-warnings"]}, + "CommandLineFlag": "-suppress-warnings", "DefaultValue": "com_apple_xcode_tools_swift_compiler__SWIFT_SUPPRESS_WARNINGS__DefaultValue", "Description": "Don't emit any warnings.", "DisplayName": "Suppress Warnings", @@ -3067,6 +3168,49 @@ SETTINGS = { "DefaultValue": "com_apple_xcode_tools_swift_compiler__SWIFT_ENABLE_LIBRARY_EVOLUTION__DefaultValue", "Type": "Boolean", }, + "SWIFT_ENABLE_OPAQUE_TYPE_ERASURE": { + "CommandLineArgs": { + "NO": [], + "YES": [ + "-Xfrontend", + "-enable-experimental-opaque-type-erasure", + ], + }, + "Condition": "com_apple_xcode_tools_swift_compiler__SWIFT_ENABLE_OPAQUE_TYPE_ERASURE__Condition", + "DefaultValue": "com_apple_xcode_tools_swift_compiler__SWIFT_ENABLE_OPAQUE_TYPE_ERASURE__DefaultValue", + "Type": "Boolean", + }, + "SWIFT_CLANG_CXX_LANGUAGE_STANDARD": { + "CommandLineArgs": { + "<>": [], + "objcxx-c++17": [ + "-Xcc", + "-std=$(CLANG_CXX_LANGUAGE_STANDARD)", + ], + "objcxx-c++20": [ + "-Xcc", + "-std=$(CLANG_CXX_LANGUAGE_STANDARD)", + ], + "objcxx-c++23": [ + "-Xcc", + "-std=c++2b", + ], + "objcxx-gnu++17": [ + "-Xcc", + "-std=$(CLANG_CXX_LANGUAGE_STANDARD)", + ], + "objcxx-gnu++20": [ + "-Xcc", + "-std=$(CLANG_CXX_LANGUAGE_STANDARD)", + ], + "objcxx-gnu++23": [ + "-Xcc", + "-std=gnu++2b", + ], + }, + "DefaultValue": "com_apple_xcode_tools_swift_compiler__SWIFT_CLANG_CXX_LANGUAGE_STANDARD__DefaultValue", + "Type": "String", + }, }, "ProgressDescription": "Compiling Swift source files", "ShowInCompilerSelectionPopup": "NO", diff --git a/data_generators/xcspec_extractor.py b/data_generators/xcspec_extractor.py index e4f221adf..b0e335e76 100755 --- a/data_generators/xcspec_extractor.py +++ b/data_generators/xcspec_extractor.py @@ -32,7 +32,7 @@ def xcspec_from_file(path): eval_bzl_path = sys.argv[4] xcode = os.path.dirname(os.path.dirname(developer_dir)) xcode_plugins = os.path.join( - xcode, "Contents/PlugIns/XCBSpecifications.ideplugin/Contents/Resources" + xcode, "Contents/Developer/Library/Xcode/Plug-ins/XCBSpecifications.ideplugin/Contents/Resources" ) xcspecs = [ diff --git a/tests/ios/xcconfig/BUILD.bazel b/tests/ios/xcconfig/BUILD.bazel index b6d2d1de0..612bc1036 100644 --- a/tests/ios/xcconfig/BUILD.bazel +++ b/tests/ios/xcconfig/BUILD.bazel @@ -86,9 +86,6 @@ apple_framework( srcs = glob(["WithEdgeCaseConfigs/*.m"]), platforms = {"ios": "10.0"}, visibility = ["//visibility:public"], - xcconfig = { - "DEFINES_MODULE": "YES", # Broken by Xcode 14.2 xcspec eval - }, ) ios_application(