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

Need support to static framework #76

Open
wudijimao opened this issue Nov 14, 2018 · 2 comments
Open

Need support to static framework #76

wudijimao opened this issue Nov 14, 2018 · 2 comments

Comments

@wudijimao
Copy link

I use the Crashlytics.framework witch is a static framework. And I got error below:

The 'Pods-XXXXX' target has transitive dependencies that include static binaries: (/Users/xxxx/Documents/Projects/xxxx/Pods/Crashlytics/iOS/Crashlytics.framework)

Really need static framework support!! Thank you!!

@paulb777
Copy link
Member

See here for usage instructions for the static framework Firebase pods with Rome. Something similar should work with the Crashlytics pod.

Based on the error message, I suspect that you're running into the more general restriction of trying to have a dynamic framework CocoaPod depend on a static framework one.

@ElfSundae
Copy link

Add the following to your Podfile:

pre_install do |installer|
    # workaround for https://github.com/CocoaPods/CocoaPods/issues/3289
    Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {}
end

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