You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using SPM to get the library in Xcode I got this error :
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).
The text was updated successfully, but these errors were encountered:
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.
When using SPM to get the library in Xcode I got this error :
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).
The text was updated successfully, but these errors were encountered: