diff --git a/Package.swift b/Package.swift index 854d49f46..6b76e16e0 100644 --- a/Package.swift +++ b/Package.swift @@ -503,7 +503,7 @@ if useLocalDependencies { package.dependencies += [ .package(url: "https://github.com/swiftlang/swift-driver.git", branch: relatedDependenciesBranch), .package(url: "https://github.com/apple/swift-system.git", .upToNextMajor(from: "1.5.0")), - .package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.0.3"), + .package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.8.0"), .package(url: "https://github.com/swiftlang/swift-tools-protocols.git", branch: relatedDependenciesBranch), ] if !useLLBuildFramework { diff --git a/Sources/SWBUtil/PbxCp.swift b/Sources/SWBUtil/PbxCp.swift index 5b0835190..79dd19913 100644 --- a/Sources/SWBUtil/PbxCp.swift +++ b/Sources/SWBUtil/PbxCp.swift @@ -568,7 +568,7 @@ public func pbxcp(_ argv: [String], cwd: Path) async -> (success: Bool, output: do { var argv = argv argv.removeFirst() - options = try CopyOptions.parse(argv) + options = try await CopyOptions.parse(argv) } catch { return (false, CopyOptions.message(for: error)) }