Skip to content

Commit

Permalink
Merge pull request #49 from veracode/parsing_failure_local_packages
Browse files Browse the repository at this point in the history
Add XCLocalSwiftPackageReference as a ObjectType
  • Loading branch information
github-actions[bot] authored Oct 12, 2023
2 parents 66ebc10 + 891eb3f commit 8bf3d6c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions PBXProjParser/Sources/PBXProjParser/Models/PBXObject.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,5 @@ extension XCSwiftPackageProductDependency: Equatable {
}

public class XCRemoteSwiftPackageReference: PBXObject {}
public class XCLocalSwiftPackageReference: PBXObject {}
public class XCVersionGroup: PBXObject {}

0 comments on commit 8bf3d6c

Please sign in to comment.