bmoliveira / MarkdownKit

A simple and customizable Markdown Parser for Swift
MIT License
783 stars 136 forks source link

Errors occur when installing via Swift Package Manager #82

Closed jordanhbuiltbyhq closed 3 years ago

jordanhbuiltbyhq commented 3 years ago

If you go to File > Swift Packages > Add Package Dependency, paste in https://github.com/bmoliveira/MarkdownKit.git, click Next, leave it at the default up to 1.4.1 rule, click Next, you'll get an error stating:

https://github.com/bmoliveira/MarkdownKit.git has no Package.swift manifest for version 1.4.1 in https://github.com/bmoliveira/MarkdownKit.git

If you instead put in 1.7.0 as is implied in the Readme, you'll get an error stating:

Dependencies could not be resolved because no versions of 'MarkdownKit' match the requirement 1.7.0..<2.0.0 and root depends on 'MarkdownKit' 1.7.0..<2.0.0.

Screen Shot 2021-03-22 at 1 33 50 PM
gaebel commented 3 years ago

There is currently no release with the SPM integration. For now select master as branch instead of the version number when adding the package to your project. Sorry for the misleading version number in the Readme. We'll create the release in the next few days.

gaebel commented 3 years ago

We've just published the release