class Pod::Target

Attributes

mock_dynamic_framework[RW]

Public Instance Methods

build_type() click to toggle source
# File lib/pod_builder/install.rb, line 41
def build_type
  if mock_dynamic_framework == true
    if defined?(Pod::BuildType) # CocoaPods 1.9 and later
      Pod::BuildType.new(linkage: :dynamic, packaging: :framework)
    elsif defined?(Pod::Target::BuildType) # CocoaPods 1.7, 1.8
      Pod::Target::BuildType.new(linkage: :dynamic, packaging: :framework)
    else
      raise "\n\nBuildType not found. Open an issue reporting your CocoaPods version".red
    end
  else
    swz_build_type()
  end
end
Also aliased as: swz_build_type
swz_build_type()
Alias for: build_type