Comments (9)
Please also update your Swift package dependencies, UAParser dep is lowered to v10_15. ;)
from feather.
feather 1.0.0-beta.2
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "feather",
platforms: [
.macOS(.v10_15)
],
products: [
.executable(name: "Run", targets: ["Run"]),
.library(name: "App", targets: ["App"]),
],
dependencies: [
.package(url: "https://github.com/vapor/vapor", from: "4.34.0"),
.package(url: "https://github.com/binarybirds/feather-core", from: "1.0.0-beta"),
// .package(url: "https://github.com/binarybirds/feather-core", .branch("main")),
.package(url: "https://github.com/binarybirds/leaf-foundation", from: "1.0.0-beta"),
/// drivers
.package(url: "https://github.com/vapor/fluent-sqlite-driver", from: "4.0.0"),
.package(url: "https://github.com/binarybirds/liquid-local-driver", from: "1.0.0"),
// .package(name: "redirect-module", url: "https://github.com/feather-modules/redirect", .branch("main")),
// .package(name: "sponsor-module", url: "https://github.com/feather-modules/sponsor", .branch("main")),
// .package(name: "static-module", url: "https://github.com/feather-modules/static", .branch("main")),
// .package(name: "blog-module", url: "https://github.com/feather-modules/blog", .branch("main")),
// .package(name: "swifty-module", url: "https://github.com/feather-modules/swifty", .branch("main")),
// .package(name: "markdown-module", url: "https://github.com/feather-modules/markdown", .branch("main")),
.package(url: "https://github.com/malcommac/UAParserSwift", from: "1.2.0"),
.package(name: "ALanguageParser", url: "https://github.com/matsoftware/accept-language-parser", from: "1.0.0"),
.package(url: "https://github.com/JohnSundell/Splash", from: "0.15.0"),
.package(url: "https://github.com/JohnSundell/Ink", from: "0.5.0"),
],
targets: [
.target(name: "App", dependencies: [
.product(name: "FeatherCore", package: "feather-core"),
.product(name: "LeafFoundation", package: "leaf-foundation"),
/// drivers
.product(name: "FluentSQLiteDriver", package: "fluent-sqlite-driver"),
.product(name: "LiquidLocalDriver", package: "liquid-local-driver"),
/// modules
// .product(name: "RedirectModule", package: "redirect-module"),
// .product(name: "SponsorModule", package: "sponsor-module"),
// .product(name: "StaticModule", package: "static-module"),
// .product(name: "BlogModule", package: "blog-module"),
// .product(name: "SwiftyModule", package: "swifty-module"),
// .product(name: "MarkdownModule", package: "markdown-module"),
.product(name: "UAParserSwift", package: "UAParserSwift"),
.product(name: "ALanguageParser", package: "ALanguageParser"),
.product(name: "Splash", package: "Splash"),
.product(name: "Ink", package: "Ink"),
.product(name: "Vapor", package: "vapor"),
], exclude: [
"Modules/Analytics/Bundle",
"Modules/Blog/Bundle",
"Modules/Menu/Bundle",
"Modules/Redirect/Bundle",
"Modules/Site/Bundle",
"Modules/Sponsor/Bundle",
"Modules/Static/Bundle",
], swiftSettings: [
.unsafeFlags(["-cross-module-optimization"], .when(configuration: .release))
]),
.target(name: "Run", dependencies: [
.target(name: "App"),
]),
// .testTarget(name: "AppTests", dependencies: [
// .target(name: "App"),
// .product(name: "XCTVapor", package: "vapor"),
// ])
]
)
from feather.
Looks like I was in a hurry. I cloned main
and it was built fine.
from feather.
Hmm, no, it still doesn't build.
from feather.
As I can see you're trying to build the project through a generated Xcode project file, but that's not going to work at all.
You should open the project via the Package.swift
file, please don't generate an xcodeproj
file, that's a deprecated way.
Please, let me know if this was / fixes your issue. Thanks.
from feather.
Oh, thanks, I'l try. I've been experimenting a lot over the past few days, both with and without a project file, so I may not have tried it.
from feather.
Ah! UAParser requires Big Sur, that's why I generated the project file, so at least I can fix the requirements manually. And if I try to compile through Patskage.swift, it cannot be fixed due to lock.
from feather.
Found the checkout directory for UAParser and fixed requirements manually. Trying to build.
from feather.
Voila! Feather is up and running!
Thanks for advice. :)
from feather.
Related Issues (20)
- Edit form save notifications in general
- Replace option field with checkbox / better options for bool values HOT 1
- Add hints for the redirect edit form fields HOT 2
- Hide tmp folder from the user when using the file browser HOT 1
- Print max upload size when uploading files HOT 1
- Print currently selected directory name (path) when uploading new files HOT 1
- Clicking on file keys in the file browser behaves as they were directories HOT 2
- Add option to disable site indexing globally
- 400 - Value of type 'String' required for key in analytics/overview route HOT 8
- Integrate Peacock CSS
- Liquid S3 driver region issue (N. Virginia) HOT 1
- Embed the more recent post of my blogger in another website. HOT 3
- Cannot edit metadata for my last post. HOT 5
- feathercms.com website is reported as insecure HOT 1
- Data too long for column 'content' at row 6 HOT 1
- Is it not maintained? The site cannot be opened. HOT 2
- New docker image HOT 2
- Error on `swift run Feather` HOT 1
- Sponsor-module HOT 1
- i18n Support
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 feather.