Skip to content

Instantly share code, notes, and snippets.

@dneprDroid
Last active April 1, 2020 08:27
Show Gist options
  • Select an option

  • Save dneprDroid/ea1939bb4dee43ae77382aff09577f06 to your computer and use it in GitHub Desktop.

Select an option

Save dneprDroid/ea1939bb4dee43ae77382aff09577f06 to your computer and use it in GitHub Desktop.
......
# 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
@dneprDroid
Copy link
Copy Markdown
Author

Pod::Target::BuildType.static_library='static library'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment