-
Notifications
You must be signed in to change notification settings - Fork 31
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
Pods
target has transitive dependencies that include static binaries
#10
Comments
So, this is a problem because CrashlyticsFramework is a fake framework. It is a static library in a .framework container. This was working with cocoapods 0.36 but they seem to have added more checks with 0.37 to catch more things like this. For the most part, they're right. If a static library gets linked against multiple dynamic frameworks, we would end up getting duplicate symbols in each of those frameworks. Unfortunately at this point, I don't see a way to support the integration of CrashlyticsLumberjack/Crashlytics via cocoapods using use_frameworks! I suppose our best chance of getting this working is if Twitter publishes a dynamic version of Fabric/Crashlytics that could be intregrated using cocoapods this way. For the time being, I would recommend pulling in the source files and just compiling them into your project along with the Crashlytics framework from twitter. |
Thanks for this explanation ! :) |
I agree that duplicate names due to duplicate library linking should be avoided, and so I see how this is a valid check for the linter to perform. I suppose these libraries are supposed to be added as Pods in the actual project. Thanks! |
That sounds like a question for the Cococapods team. I don't have any control over what it considers an error. |
Hah, I just landed here and don't know why I thought I was on Cocoapods' github. Sorry for this :) |
I'm also seeing this issue with CocoaPods
|
Since Crashlytics/Fabric now encourages using use_frameworks!, it would be great if this didn't trigger the transitive error anymore. |
Any news on this? I'm getting the same error with CocoaPods 1.1.1. |
This is happening because Solutions:
PRs welcome! |
Hi,
Here is the error message I have when I'm doing a
pod install
:I think I've got this error, because I'm forcing cocoapods to use frameworks.
I'm not sure, but maybe it's because we have
s.dependency = 'CrashlyticsFramework'
in the podspec ?Regarding to this post on stackoverflow maybe we could try :
Any help is appreciate !
Here is my Podfile :
Pod version :
The text was updated successfully, but these errors were encountered: