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
crash when build on linux #1091
Comments
I'm having the same issue in swift 5.4. Is there a workaround? |
Same here, still no fix? |
I am also getting this error with the current version. Using swift 5.8. I'm not sure why SwiftyJSON is implementing comparators for NSNumber. Just out of curiosity, I wrote a trivial program to compare two NSNumber. I ran one on my mac and another on a linux box. The linux box runs just fine, but the mac version won't compile because there is no comparator for NSNumber. It seems like Foundation on linux implements it, while Foundation on mac does not. Maybe I am misreading it. Here is the program:
Running on linux:
Trying no run on mac studio:
Possibly we can just conditional compile based on #if os(Linux). Windows might have the same issue, but I'm unable to test that. |
Just another follow up:
Linux:
Mac
|
For the record, I've bumped into this same issue too. Ubuntu 22.04, swift 5.9.1 (x86_64). |
I also have this issue, has anyone found a workaround? |
swift:5.3.3
SwiftyJSON:5.0.0
The text was updated successfully, but these errors were encountered: