From 891eb3f781335501fe0efa51098f9071f4f899d5 Mon Sep 17 00:00:00 2001 From: NinjaLikesCheez Date: Wed, 11 Oct 2023 11:18:39 +0100 Subject: [PATCH] Add XCLocalSwiftPackageReference as a ObjectType --- PBXProjParser/Sources/PBXProjParser/Models/PBXObject.swift | 2 ++ .../PBXProjParser/Models/XCSwiftPackageProductDependency.swift | 1 + 2 files changed, 3 insertions(+) diff --git a/PBXProjParser/Sources/PBXProjParser/Models/PBXObject.swift b/PBXProjParser/Sources/PBXProjParser/Models/PBXObject.swift index e977dac..4dbd1f2 100644 --- a/PBXProjParser/Sources/PBXProjParser/Models/PBXObject.swift +++ b/PBXProjParser/Sources/PBXProjParser/Models/PBXObject.swift @@ -35,6 +35,7 @@ public class PBXObject: Decodable { case buildConfiguration = "XCBuildConfiguration" case configurationList = "XCConfigurationList" case swiftPackageProductDependency = "XCSwiftPackageProductDependency" + case localSwiftPackageReference = "XCLocalSwiftPackageReference" case remoteSwiftPackageReference = "XCRemoteSwiftPackageReference" case referenceProxy = "PBXReferenceProxy" case versionGroup = "XCVersionGroup" @@ -65,6 +66,7 @@ public class PBXObject: Decodable { case .configurationList: return XCConfigurationList.self case .swiftPackageProductDependency: return XCSwiftPackageProductDependency.self case .remoteSwiftPackageReference: return XCRemoteSwiftPackageReference.self + case .localSwiftPackageReference: return XCLocalSwiftPackageReference.self case .referenceProxy: return PBXReferenceProxy.self case .versionGroup: return XCVersionGroup.self case .buildRule: return PBXBuildRule.self diff --git a/PBXProjParser/Sources/PBXProjParser/Models/XCSwiftPackageProductDependency.swift b/PBXProjParser/Sources/PBXProjParser/Models/XCSwiftPackageProductDependency.swift index b1a9f3f..9274529 100644 --- a/PBXProjParser/Sources/PBXProjParser/Models/XCSwiftPackageProductDependency.swift +++ b/PBXProjParser/Sources/PBXProjParser/Models/XCSwiftPackageProductDependency.swift @@ -44,4 +44,5 @@ extension XCSwiftPackageProductDependency: Equatable { } public class XCRemoteSwiftPackageReference: PBXObject {} +public class XCLocalSwiftPackageReference: PBXObject {} public class XCVersionGroup: PBXObject {}