Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I run on IOS for SiteRouter -> this target supports 9.0 #14

Open
addame2 opened this issue Jun 25, 2022 · 0 comments
Open

How do I run on IOS for SiteRouter -> this target supports 9.0 #14

addame2 opened this issue Jun 25, 2022 · 0 comments

Comments

@addame2
Copy link

addame2 commented Jun 25, 2022

I have create new SPM for my models so I can add server + iOS now when I add it iOS project I am getting this issue

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

import PackageDescription

let package = Package(
    name: "WordNotificationSiteRouter",
    platforms: [.macOS(.v12)], -> I also try add `.iOS(.v14)`
    products: [
        // Products define the executables and libraries a package produces,
        // and make them visible to other packages.
        .library(name: "WordNotificationSiteRouter", targets: ["WordNotificationSiteRouter"]),
    ],
    dependencies: [
        .package(url: "https://github.com/pointfreeco/vapor-routing", from: "0.1.1"),
        .package(url: "https://github.com/pointfreeco/swift-parsing", from: "0.9.2"),
        .package(url: "https://github.com/vapor/fluent-mongo-driver.git", from: "1.1.2"),
    ],
    targets: [
        .target(
            name: "WordNotificationSiteRouter",
            dependencies: [
                .product(name: "VaporRouting", package: "vapor-routing"),
                .product(name: "_URLRouting", package: "swift-parsing"),
                .product(name: "FluentMongoDriver", package: "fluent-mongo-driver"),
            ]),
        .testTarget(
            name: "WordNotificationSiteRouterTests",
            dependencies: ["WordNotificationSiteRouter"]),
    ]
)

Showing Recent Messages
The package product 'FluentKit' requires minimum platform version 13.0 for the iOS platform, but this target supports 9.0
The package product 'MongoKitten' requires minimum platform version 12.0 for the iOS platform, but this target supports 9.0
The package product 'Vapor' requires minimum platform version 13.0 for the iOS platform, but this target supports 9.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant