Skip to content

Commit

Permalink
XCScheme string initializer (#809)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmassicotte committed Jan 31, 2024
1 parent fe3544b commit 7328a21
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Sources/XcodeProj/Scheme/XCScheme.swift
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ public final class XCScheme: Writable, Equatable {
self.wasCreatedForAppExtension = wasCreatedForAppExtension
}

public convenience init(pathString: String) throws {
try self.init(path: Path(pathString))
}

// MARK: - Writable

public func write(path: Path, override: Bool) throws {
Expand Down

0 comments on commit 7328a21

Please sign in to comment.