the problem is that when using the package, you have to write,
.executableTarget(
name: "example",
dependencies:
[
.product(name: "JSON", package: "ss-json"),
]),
but the actual name of the package in the Package.swift
is swift-json
, and this is what people expect to write in the package:
field.
the url of the repository is a hosting detail, and should not affect the strings passed to product(name:package:)
. while moving the GitHub repository is theoretically possible, it would break all incoming links and confuse users.