Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Update podspec to allow static library. #111

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bridger
Copy link

@bridger bridger commented Feb 10, 2018

Version 1.4.0 of Cocoapods allows a pod to be used as a static library, even in a Swift app. It requires the library's podspec to contain s.static_framework = true.

This little change works in my project.

I believe this will help apps launch faster. Here's a blog post that explains why too many dynamic frameworks slows down launch: https://blog.automatic.com/how-we-cut-our-ios-apps-launch-time-in-half-with-this-one-cool-trick-7aca2011e2ea

@smhk
Copy link

smhk commented Feb 10, 2018

purely FWIW Josh, maybe soon you should consider dumping cocoapods support.

We've noticed more and more teams have given up and just use Carthage, and once swift package manager arrives I guess pods will be pretty dead.

your library is way too good for it :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants