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

pod lib lint doesn’t check frameworks #2134

Closed
0xced opened this issue May 15, 2014 · 4 comments
Closed

pod lib lint doesn’t check frameworks #2134

0xced opened this issue May 15, 2014 · 4 comments
Labels
d2:moderate A moderately-difficult ticket that may require a bit of knowledge about the codebase s4:awaiting validation A Pull Request that is waiting for validation by a CocoaPods Core Team member t1:enhancement Enhancements that have not been picked up yet. Please comment if you plan to work on it

Comments

@0xced
Copy link
Contributor

0xced commented May 15, 2014

The pod lib lint command only compiles static libraries but doesn’t try to link them to an application executable. So if you forget to specify a framework in the podspec, the linker error that will ensue will not be caught by the linter but only once you use the pod in an actual project.

@segiddins segiddins added the d2:moderate A moderately-difficult ticket that may require a bit of knowledge about the codebase label Sep 8, 2014
@segiddins
Copy link
Member

This is even more relevant now that CocoaPods supports building frameworks :)

@tapi
Copy link
Contributor

tapi commented Mar 31, 2015

--use-frameworks was mentioned in the blog post but seems to be missing in 0.36.1. Is there a branch that has this flag we could use during migration to frameworks?

@kylef
Copy link
Contributor

kylef commented Mar 31, 2015

@tapi Since that post, we've reversed pod linting to use frameworks by default, and introduced it's counterpart --use-libraries to disable this.

@tapi
Copy link
Contributor

tapi commented Mar 31, 2015

👍 : Good to know, thanks.

@segiddins segiddins added s4:awaiting validation A Pull Request that is waiting for validation by a CocoaPods Core Team member and removed s2:confirmed Issues that have been confirmed by a CocoaPods contributor labels Oct 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
d2:moderate A moderately-difficult ticket that may require a bit of knowledge about the codebase s4:awaiting validation A Pull Request that is waiting for validation by a CocoaPods Core Team member t1:enhancement Enhancements that have not been picked up yet. Please comment if you plan to work on it
Projects
None yet
Development

No branches or pull requests

4 participants