标签: corestore

Swift 包管理器:依赖 iOS 版本

我正在尝试使用 xCode11 beta 7构建具有外部依赖项 ( CoreStore ) 的swift 包。我的包针对 iOS11+,它在Package.swift以下位置声明:

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

import PackageDescription

let package = Package(
    name: "Storages",
    platforms: [.iOS(.v11)],
    products: [
        // Products define the executables and libraries produced by a package, and make them visible to other packages.
        .library(
            name: "Storages",
            targets: ["Storages"]),
    ],
    dependencies: [
        // Dependencies declare other packages that this package depends on.
        .package(url: "https://github.com/JohnEstropia/CoreStore.git", from: "6.3.0") …
Run Code Online (Sandbox Code Playgroud)

swift swift-package-manager corestore xcode11

5
推荐指数
2
解决办法
2100
查看次数

标签 统计

corestore ×1

swift ×1

swift-package-manager ×1

xcode11 ×1