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
Doesn't compile on Linux OS #1087
Comments
ghost
mentioned this issue
Jan 1, 2021
Getting the same thing on Heroku |
This is still an issue in Ubuntu Duplicate issue of #1038 |
Still an issue in Swift 5.6.1 on Ubuntu 20.04. |
Still an issue on Debian (Ubuntu 20.04) with Swift 5.8.1. Is there a workaround for this right now? |
The workaround I have used is to use the commit in the pull request. https://github.com/seriyvolk83/SwiftyJSON.git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using a Docker container to build my app with a reference to SwiftyJSON module, I get the following error:
Dockerfile:
FROM swift:latest as builder
WORKDIR /app
COPY ./Sources Sources/
COPY Package.swift Package.swift
RUN swift build
CMD ["sh"]
Error:
/app/.build/checkouts/SwiftyJSON/Source/SwiftyJSON/SwiftyJSON.swift:1215:51: error: ambiguous use of operator '<'
case (.number, .number): return lhs.rawNumber < rhs.rawNumber
^
/app/.build/checkouts/SwiftyJSON/Source/SwiftyJSON/SwiftyJSON.swift:1251:6: note: found this candidate
func < (lhs: NSNumber, rhs: NSNumber) -> Bool {
^
Foundation.NSNumber:2:24: note: found this candidate
public static func < (lhs: NSNumber, rhs: NSNumber) -> Bool
The text was updated successfully, but these errors were encountered: