Skip to content

Commit

Permalink
Add platformFilter to PBXTargetDependency constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasLinhart committed Jun 2, 2020
1 parent 732e5de commit 560d5ae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Sources/XcodeProj/Objects/Targets/PBXTargetDependency.swift
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,16 @@ public final class PBXTargetDependency: PBXObject {
///
/// - Parameters:
/// - name: Dependency name.
/// - platformFilter: Platform filter.
/// - target: Target.
/// - targetProxy: Target proxy.
public init(name: String? = nil,
platformFilter: String? = nil,
target: PBXTarget? = nil,
targetProxy: PBXContainerItemProxy? = nil,
product: XCSwiftPackageProductDependency? = nil) {
self.name = name
self.platformFilter = platformFilter
targetReference = target?.reference
targetProxyReference = targetProxy?.reference
productReference = product?.reference
Expand Down

0 comments on commit 560d5ae

Please sign in to comment.