Class: Pod::Target

Inherits:
Object
  • Object
show all
Defined in:
lib/cocoapods-jxedt/binary/targets/pod_target.rb,
lib/cocoapods-jxedt/binary/helper/podfile_options.rb

Direct Known Subclasses

PodTarget

Defined Under Namespace

Classes: BuildSettings

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#use_binaryObject

Returns the value of attribute use_binary.



78
79
80
# File 'lib/cocoapods-jxedt/binary/helper/podfile_options.rb', line 78

def use_binary
  @use_binary
end

Instance Method Details

#explicit_header_search_pod_namesObject



86
87
88
89
90
91
92
# File 'lib/cocoapods-jxedt/binary/helper/podfile_options.rb', line 86

def explicit_header_search_pod_names
  @explicit_header_search_pod_names ||= begin
    target_definitions.flat_map { |target_definition|
      target_definition.explicit_header_search_pod_names
    }.uniq
  end
end

#frame_header_search_paths_enable?Boolean

Returns:

  • (Boolean)


80
81
82
83
84
# File 'lib/cocoapods-jxedt/binary/helper/podfile_options.rb', line 80

def frame_header_search_paths_enable?
  return false if reject_header_search_pod_names.include? self.name
  return true if explicit_header_search_pod_names.include? self.name
  self.use_binary && Jxedt.config.framework_header_search_enabled?
end

#reject_header_search_pod_namesObject



94
95
96
97
98
99
100
# File 'lib/cocoapods-jxedt/binary/helper/podfile_options.rb', line 94

def reject_header_search_pod_names
  @reject_header_search_pod_names ||= begin
    target_definitions.flat_map { |target_definition|
      target_definition.reject_header_search_pod_names
    }.uniq
  end
end