class Pod::Installer

Public Instance Methods

ensure_plugins_are_installed!() click to toggle source
# File lib/bd_pod_extension_net.rb, line 715
def ensure_plugins_are_installed!
  require 'claide/command/plugin_manager'

  loaded_plugins = Command::PluginManager.specifications.map(&:name)

  podfile.plugins.keys.each do |plugin|
    unless loaded_plugins.include? plugin
      raise Informative, "Your Podfile requires that the plugin `#{plugin}` be installed. Please install it and try installation again." unless plugin.include?('cocoapods-bytedance-')
    end
  end
end