Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Either static libraries or dynamic frameworks? Or ... static frameworks? #158

Open
claybridges opened this issue Apr 29, 2019 · 3 comments

Comments

@claybridges
Copy link

Here, @dnkoutso writes:

Currently, consumers of pods are limited to an all-or-nothing approach to integrate their project by forcing them to make a choice on whether to use dynamic frameworks everywhere or static libraries everywhere via the use_frameworks! option.

But if the source Podspec specifies a static framework (e.g. s.static_framework = true , isn't that what the consumer gets, even with a use_frameworks! declaration?

@dnkoutso
Copy link
Contributor

More or less both statements are correct. I do not see an issue here so I am going to close and we can continue discussion here. Especially for a 1.8.x release.

@paulb777
Copy link
Member

s.static_framework = true means if the use_frameworks! declaration is set in the Podfile, the Pod should be built as a static framework. s.static_framework = true has no impact if use_frameworks! is not in the Podfile.

@claybridges
Copy link
Author

Right, but the choice is between frameworks and libraries, not between "dynamic frameworks" and "static libraries". Whether the framework is static or dynamic is not strictly determined by the use_frameworks! declaration.

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

No branches or pull requests

3 participants