Last active
April 1, 2020 08:27
-
-
Save dneprDroid/ea1939bb4dee43ae77382aff09577f06 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ...... | |
| # the bottom of podfile ... | |
| $static_framework = ['MZStreamCore'] | |
| pre_install do |installer| | |
| Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {} | |
| installer.pod_targets.each do |pod| | |
| if $static_framework.include?(pod.name) | |
| def pod.build_type; | |
| :static_library | |
| end | |
| end | |
| end | |
| end |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Pod::Target::BuildType.static_library='static library'