-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
The library doesn't build on iOS/tvOS due to missing <net/route.h> #31
Comments
Download |
Is the header missing from the iOS SDK? That would probably mean that those system calls are unsupported, it might not be a good idea to rely on them. Adding the macOS header locally sounds like a hack, if it works for you it's fine but I think the proper approach to make the project build on iOS would be to change the |
No the header does not exist in the iOS SDK.
|
十分抱歉 !我的账户在前段时间被黑客盗用,并且传播相同的病毒文件,如果你们遇到要下载一个fix.zip的千万不要下载!就是它导致我账户被攻占的 |
I have worked around this issue by manually copying route.h from the macOS SDK folder into the libplum folder and changing it to a regular "route.h" include.
I'm not sure if there is a better solution, or a PR for the above? The copyright message in the file is dated 2017, so it seems like the file is pretty static and unchanging between SDK versions.
Attaching the file for reference.
The text was updated successfully, but these errors were encountered: