Comments (4)
@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.
@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
add package Up to Next Major
add package Exact
add package Up to Next Minor
from kitura.
@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.
@dannys42 thanks for help.
from kitura.
Related Issues (20)
- Update CLA HOT 1
- NET::ERR_CERT_COMMON_NAME_INVALID
- Exported OpenApi uses unexpected type for date. HOT 1
- XCode 12 Build broken due to static package dependency HOT 10
- [Question]Is it possible set Kitura-NIO as default in Xcode 11.6 HOT 2
- [Question]It is possible set custom working dir(without using Xcode)?
- Kitura cannot build and run project HOT 1
- Is it possible use response to render html string? HOT 3
- Document SwaggerDocument
- Kitura.dev should point to valid Slack group HOT 3
- Some tests need investigation
- BUG DETECTED: wait() error when using SwiftyRequest, CouchDB and NIO
- upgrade from 0.1.0 to 0.2.1, kitura command totally mess up HOT 3
- No support for Get with ID and Query params
- align dependencies URLs HOT 1
- Investigate alternative CI systems
- Thank you dannys42! HOT 1
- Odd behavior when 2 simultaneous POST requests happen HOT 1
- Slack link on web page is broken HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kitura.