All about linking libraries
summary
Explains how linking fails and how to fix it by showing the actual build settings and file layout that cause errors: when a dependency lacks modules use module maps or bridging headers, when a dependency is dynamic add a copy frameworks build phase, and when symbols disappear check header paths and search-path settings. Demonstrates concrete Xcode settings to change, the runtime difference between static and dynamic libraries, and simple troubleshooting steps that reproduce and then resolve missing-module and duplicate-symbol errors.
AI-written summary · about
chapters (11)
- 0:00Start
- 0:29Dragging to Embedded Binaries
- 0:52Dynamic vs Static wl Bundle vs wo/Bundle
- 2:02What need to import libraries into Swift?
- 2:50Set parent directory of the framework to Framework Search Paths
- 3:20a. Bridging Header
- 4:28How to import libraries
- 4:38a Bridging Header
- 5:15Link dynamic frameworks
- 5:32How to link libraries
- 6:17Recap
related talks
25mUse C, C++ and Objective C Libraries in a Swift Project
58mMaking Libraries Consumable for Non-C++ Developers
01h 04mBuilding Modules
41mWe Don’t Talk About Xcode
01h 17mDevelopment strategies: You've written a library - now what?
45mSwift, Frameworks & Modules, Learnings from CocoaPods
43mLibrary Developer Confidential
47mBuilding and Integrating Frameworks
