From 013cc79307692e02553a322006caed3761f1018f Mon Sep 17 00:00:00 2001 From: Maxim Kholyavkin Date: Wed, 9 Oct 2024 16:41:57 +0300 Subject: [PATCH] remove empty TargetAttributes from result pbxproj as Xcode 16 do each run --- Sources/XcodeProj/Objects/Project/PBXProject.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/XcodeProj/Objects/Project/PBXProject.swift b/Sources/XcodeProj/Objects/Project/PBXProject.swift index 14e89699..7c6e51fb 100644 --- a/Sources/XcodeProj/Objects/Project/PBXProject.swift +++ b/Sources/XcodeProj/Objects/Project/PBXProject.swift @@ -548,7 +548,7 @@ extension PBXProject: PlistSerializable { (value as? PBXObject)?.reference.value ?? value } } - plistAttributes[PBXProject.targetAttributesKey] = plistTargetAttributes + plistAttributes[PBXProject.targetAttributesKey] = plistTargetAttributes.isEmpty ? nil : plistTargetAttributes dictionary["attributes"] = plistAttributes.plist()