依赖图是无法解析的;发现以下矛盾的要求:

时间:2019-07-17 19:14:44

标签: swift freetype swift-package-manager

我正在尝试导入此依赖项: https://github.com/PureSwift/CFreeType

但我收到此错误:

Fetching https://github.com/PureSwift/CFreeType.git
error: dependency graph is unresolvable; found these conflicting requirements:

Dependencies: 
    https://github.com/PureSwift/CFreeType.git @ 1.0.4

回购带有1.0.4标签。我在做错什么吗?

这是我的Package.swift:

// swift-tools-version:4.2
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
    name: "SwiftPlot",
    products: [
       // Products define the executables and libraries produced by a package, and make them visible to other packages.
       .library(
       name: "SwiftPlot",
       targets: ["AGG", "lodepng", "CPPAGGRenderer", "CAGGRenderer", "SwiftPlot", "SVGRenderer", "AGGRenderer"]),
    ],
    dependencies: [
        .package(url:"https://github.com/PureSwift/CFreeType.git", .exact("1.0.4")),
    ],
    targets: [
        //relevant targets
    ],
    cxxLanguageStandard: .cxx11
)

0 个答案:

没有答案