Skip to content

Instantly share code, notes, and snippets.

@yhkaplan
Created July 27, 2020 09:03
Show Gist options
  • Save yhkaplan/66149539cb0dba19d6e11627651c38a1 to your computer and use it in GitHub Desktop.
Save yhkaplan/66149539cb0dba19d6e11627651c38a1 to your computer and use it in GitHub Desktop.
Make cocoapods static
pre_install do |installer|
installer.pod_targets.each do |pod|
if !dynamic_frameworks.include?(pod.name)
puts "Overriding the static_framework? method for #{pod.name}"
def pod.static_framework?;
true
end
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment