From c43bad236942d5b63aadaef04c5fe01d017ccc9b Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Tue, 14 Sep 2021 00:59:59 -0400 Subject: [PATCH] fix untested codepath? add:item() is surely a typo, not a real function --- mesonbuild/backend/xcodebackend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/backend/xcodebackend.py b/mesonbuild/backend/xcodebackend.py index 5b3d33e27..7a027663b 100644 --- a/mesonbuild/backend/xcodebackend.py +++ b/mesonbuild/backend/xcodebackend.py @@ -602,7 +602,7 @@ class XCodeBackend(backends.Backend): if isinstance(dep, dependencies.AppleFrameworks): for f in dep.frameworks: fw_dict = PbxDict() - objects_dict.add:item(self.native_frameworks[f], fw_dict, f'{f}.framework in Frameworks') + objects_dict.add_item(self.native_frameworks[f], fw_dict, f'{f}.framework in Frameworks') fw_dict.add_item('isa', 'PBXBuildFile') fw_dict.add_item('fileRef', self.native_frameworks_fileref[f], f)