Skip to content

Commit 10bd49c

Browse files
daSkierFranzBusch
andauthored
add .git extensions to dependency URLs (#770)
This PR adds .git extensions to the Swift Package Manager dependencies that didn't include them. For me, this resolves issues that I have had with an error produced by Xcode when updating to the latest package versions if I'm editing the project which depends on AHC in an Xcode Workspace. <img width="389" alt="image" src="https://github.com/user-attachments/assets/24c3a5de-b555-4da8-a2fa-a4673fecff44"> The complete error is: `github.com: https://github.com/apple/swift-algorithms: The repository could not be found. Make sure a valid repository exists at the specified location and try again.` Based on conversations in the Vapor Discord server, adding these extensions "shouldn't" make a difference to the dependency resolution done by swift package manager, however adding them resolves the error. 🤷 Co-authored-by: Franz Busch <[email protected]>
1 parent 6df8e1c commit 10bd49c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Package.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ let package = Package(
2828
.package(url: "https://github.com/apple/swift-nio-transport-services.git", from: "1.19.0"),
2929
.package(url: "https://github.com/apple/swift-log.git", from: "1.4.4"),
3030
.package(url: "https://github.com/apple/swift-atomics.git", from: "1.0.2"),
31-
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"),
32-
.package(url: "https://github.com/apple/swift-algorithms", from: "1.0.0"),
31+
.package(url: "https://github.com/apple/swift-docc-plugin.git", from: "1.0.0"),
32+
.package(url: "https://github.com/apple/swift-algorithms.git", from: "1.0.0"),
3333
],
3434
targets: [
3535
.target(

0 commit comments

Comments
 (0)