Skip to content
New issue

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

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

Already on GitHub? # to your account

CocoaPods with use_frameworks! option #22

Closed
hdoria opened this issue Jan 10, 2016 · 2 comments
Closed

CocoaPods with use_frameworks! option #22

hdoria opened this issue Jan 10, 2016 · 2 comments

Comments

@hdoria
Copy link

hdoria commented Jan 10, 2016

I cannot get CocoaPods to install OpenSSL-Universal with the "use_frameworks!" option in my Podfile.

!] The 'Pods' target has transitive dependencies that include static binaries: (Pods/OpenSSL-Universal/lib-ios/libcrypto.a and Pods/OpenSSL-Universal/lib-ios/libssl.a)

Are there any workarounds? I know I can remove the use_frameworks! option, but I need it for other target dependencies using Swift.

Thanks!

@krzyzanowskim
Copy link
Owner

AFAIK you can't mix framework and static library with Cocoapods. The only options for you is to manually integrate the library - I did it like this myself, last time.

@ZmicierBiesau
Copy link

ZmicierBiesau commented Aug 16, 2018

What about using this
pre_install do |installer| Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {} end
?

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

No branches or pull requests

3 participants