Daily iOS
Build and distribution

Static vs dynamic linking

Your app embeds 40 dynamic frameworks. What gets better and what gets worse if you switch them to static linking?

How would an interviewer hear this answer? You'll see whether they'd move on, dig in, or say no, and which sentences would trip you up. Your score doesn't change.
See the short answer

Static linking removes the dyld loading, so launch is faster and dead code can be stripped, but when the app and an extension share a library the code is duplicated in each binary and resource bundles get awkward.

Share a question