Skip to content

About Swift Package Manager dependency issue. #102

@ToroLiu

Description

@ToroLiu

In Package.swift, the dependencies of Cache should not be master.

// swift-tools-version:5.1
import PackageDescription

let package = Package(
    name: "Imaginary",
    products: [
        .library(
            name: "Imaginary",
            targets: ["Imaginary"]),
    ],
    dependencies: [
      // FIXME: it should not depend on `master` branch.
      .package(url: "https://github.com/hyperoslo/Cache", .branch("master"))
    ],
    targets: [
        .target(
            name: "Imaginary",
            dependencies: ["Cache"],
            path: "Sources"
            )
    ],
    swiftLanguageVersions: [.v5]
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions