GithubHelp home page GithubHelp logo

Comments (4)

dannys42 avatar dannys42 commented on May 21, 2024

@diuming would you mind sharing more of the text of the logs? Also can you share the dependencies you're specifying in Xcode? I'm curious why there's a 2.0.201..<3.0.0 requirement there. It should start from 2.0.200.

from kitura.

diuming avatar diuming commented on May 21, 2024

@dannys42
where can i find logs?

My project is an Application Project not Package Project.

Is it a root cause in Swift-Kuery-SQLite.git's Package.swift?
.package(url: "https://github.com/Kitura/Swift-Kuery.git", .branch("master")),

I also create an executable package with command line. but error also appear

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

import PackageDescription

let package = Package(
    name: "Hello-Kitura",
    dependencies: [
        // Dependencies declare other packages that this package depends on.
        // .package(url: /* package url */, from: "1.0.0"),
        .package(url: "https://github.com/Kitura/Kitura.git", from: "2.9.200"),
        .package(url: "https://github.com/Kitura/Swift-Kuery-SQLite.git", from:"2.0.200")
    ],
    targets: [
        // Targets are the basic building blocks of a package. A target can define a module or a test suite.
        // Targets can depend on other targets in this package, and on products in packages which this package depends on.
        .target(
            name: "Hello-Kitura",
            dependencies: ["Kitura", "SwiftKuerySQLite"]),
        .testTarget(
            name: "Hello-KituraTests",
            dependencies: ["Hello-Kitura"]),
    ]
)

Hello-Kitura % swift package update
Fetching https://github.com/Kitura/Kitura.git
Fetching https://github.com/Kitura/Swift-Kuery-SQLite.git
error: because no versions of Swift-Kuery-SQLite match the requirement 2.0.201..<3.0.0 and package swift-kuery-sqlite is required using a version-based requirement and it depends on unversion package swift-kuery, Swift-Kuery-SQLite >=2.0.200 is forbidden.
And because root depends on Swift-Kuery-SQLite 2.0.200..<3.0.0, version solving failed.

other problem about Kitura-StencilTemplateEngine 1.9.200
If I add it using Up to Next Major in Xcode that will auto switch to release 1.11.1.

current added packages

Screen Shot 2020-10-23 at 1 37 37 PM

add package Up to Next Major

Screen Shot 2020-10-23 at 1 27 05 PM
Screen Shot 2020-10-23 at 1 27 58 PM

add package Exact

Screen Shot 2020-10-23 at 1 26 39 PM
Screen Shot 2020-10-23 at 1 26 10 PM

add package Up to Next Minor

Screen Shot 2020-10-23 at 1 32 14 PM
Screen Shot 2020-10-23 at 1 33 03 PM

from kitura.

dannys42 avatar dannys42 commented on May 21, 2024

@diuming Thank for the additional info. You are correct, it looks like the root cause was this line:

.package(url: "https://github.com/Kitura/Swift-Kuery.git", .branch("master")),

I've fixed it and it should hopefully be working for you now.

from kitura.

diuming avatar diuming commented on May 21, 2024

@dannys42 thanks for help.

from kitura.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.