-
Notifications
You must be signed in to change notification settings - Fork 24
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
Getting a "Couldn't find pc file" warning if I include this package in iOS app #3
Comments
@bengottlieb But it works correctly on iOS, right? I know it issues the warning (because the iOS SDK doesn't use pkg-config) but I would assume it to work. For zlib we could actually drop the pkg-config thing because zlib is always present in |
For zlib we cannot drop pkg-config as it is required to work on Linux, where pkg-config is the correct location mechanism. |
@Lukasa any Linux distro you know where Ubuntu is:
|
In general, no, but the nature of pkg-config is to guard against strange build configurations. In particular, if you are trying to build with a custom collection of packages that shadow the system packages, removing the pkg-config declaration will break it. I guess what I'm saying is that right now this package builds successfully on all platforms, but with warnings on iOS. Removing the pkg-config declaration removes the warning but may cause a breakage in those cases. It doesn't seem like trading a warning for possible breakage is worth it. |
@weissi it does build and work fine, but it harshes my zero-warnings vibe. Not a huge deal. |
@bengottlieb I mean one option would be to just make your own package. You can just take what's in this package and remove the |
@weissi if I were directly including this, I think that would be fine. But I'm adding a package that's got its own dependencies (and in this case, nio-zlib is, in turn added one layer down, so I'd actually need to create three packages). Maybe I'll see about doing a PR on the package one layer up the stack (SocketIO, in this case). Thanks! |
I'm also trying to clear out my warnings. This is used in the iOS websocket library starscream: That's being used by apollo, which is what I'm actually including. So my problem is three hops way on the dependency chain. |
@patburns / @bengottlieb well, this package requires the |
@weissi, that's reasonable. I figured out it's not required to ship the App to "silence" this warning, but you just need to have it install on the device you are compiling on. I installed this using brew:
Thanks for you comment, your suggestion gave me the idea to try this out. I'll suggest to starscream they at least update their docs. Cheers! |
No information is given, and there's nothing in the build log. Easy to reproduce:
The text was updated successfully, but these errors were encountered: