3 ms·
Ask HN: iOS and Android devs, do you prefer dependencies that build from source?
I'm trying to decide which is the lesser of two evils, to distribute a iOS/Android library with prebuilt library artifacts or to impose a ~10 minute-long build on first build. I can make strong arguments either way.
From a security-minded perspective, building from source seems to always be the better option, but even still I suspect people don't like the inconvenience of a long initial build when they want to try something out.
I suppose there are also alternatives. For example, I might only include the source in the project repo but then use Travis to build artifacts for releases so that most people receive artifacts from github/maven/cocoapods.
However, I can really only speculate which is best. If you have experience with this, I would love to hear about it.
- kidmar 10y agoUntil there's a stable Swift ABI I don't see a viable solution for binaries on iOS...