CocoaPods / Rome

Makes it easy to build a list of frameworks.
MIT License
696 stars 64 forks source link

Need support to static framework #76

Open wudijimao opened 5 years ago

wudijimao commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

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