diff --git a/tools/generators/target_build_settings/src/Generator/ProcessSwiftArgs.swift b/tools/generators/target_build_settings/src/Generator/ProcessSwiftArgs.swift index 9c40792a1..9d79cd0ca 100644 --- a/tools/generators/target_build_settings/src/Generator/ProcessSwiftArgs.swift +++ b/tools/generators/target_build_settings/src/Generator/ProcessSwiftArgs.swift @@ -317,6 +317,9 @@ extension Generator.ProcessSwiftArgs { ("OTHER_SWIFT_FLAGS", args.joined(separator: " ").pbxProjEscaped) ) + // Work around https://github.com/MobileNativeFoundation/rules_xcodeproj/issues/3171 + buildSettings.append(("SWIFT_ENABLE_EMIT_CONST_VALUES", "NO")) + return ( hasDebugInfo, clangArgs,