Thumbtack Aug 2, 2016

Adopting Swift: Migrating to Frameworks on iOS

Article Summary

Felipe Cypriano from Thumbtack reveals how migrating iOS apps to frameworks nearly derailed their Swift adoption—until they discovered a clever workaround for binary dependencies.

Thumbtack's iOS team needed to migrate from static libraries to frameworks to enable Swift in their shared codebase. What seemed like a simple CocoaPods configuration change turned into a deep dive through build errors, runtime crashes, and dependency conflicts with Crashlytics and Google Maps.

Key Takeaways

Critical Insight

Thumbtack successfully migrated to frameworks by creating adapters for binary dependencies and moving images out of asset catalogs, finally enabling Swift across their shared iOS codebase.

The article includes complete adapter code that any team can use to work around the same CocoaPods framework limitations.

Recent from Thumbtack

Related Articles