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

Swift Package Manager error #22

Open
marcheimendinger opened this issue Feb 15, 2020 · 2 comments
Open

Swift Package Manager error #22

marcheimendinger opened this issue Feb 15, 2020 · 2 comments

Comments

@marcheimendinger
Copy link

When using SPM to get the library in Xcode I got this error :
Screenshot 2020-02-15 at 16 52 31

I fixed it by not specifying a version number for the package but by directly pulling the master branch. It would be better to get it working with versions numbers (for example 3.0.0 < 4.0.0).

@furiosFast
Copy link

furiosFast commented Oct 12, 2020

same problem inside my app project

@taskcruncher
Copy link

It's because tagged version does not contain the simple header // swift-tools-version:5.0 in the Package.swift file. The header is required by swift package manager. The code at branch master does contain the header, which is why it works. See https://www.swiftbysundell.com/articles/managing-dependencies-using-the-swift-package-manager/ Simple fix for any maintainer is update the code at latest version tag to make it work with the default Swift Package Manager versioning approach.

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

3 participants