Class: Pod::Target::BuildSettings::PodTargetSettings

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

Overview

A subclass that generates build settings for a PodTarget

Since:

  • 1.5.0

Instance Method Summary collapse

Instance Method Details

#_raw_framework_search_pathsObject

Since:

  • 1.5.0



145
146
147
148
149
# File 'lib/cocoapods-jxedt/binary/targets/pod_target.rb', line 145

def _raw_framework_search_paths
    framework_search_paths = old_raw_framework_search_paths
    replace_xcconfig_configuration_paths(framework_search_paths)
    framework_search_paths
end

#_raw_header_search_pathsObject

Since:

  • 1.5.0



135
136
137
138
139
# File 'lib/cocoapods-jxedt/binary/targets/pod_target.rb', line 135

def _raw_header_search_paths
    header_search_paths = old_raw_header_search_paths
    header_search_paths.concat dependent_targets.flat_map { |pt| missing_framework_header_search_path(pt) } if target.should_build?
    header_search_paths.uniq
end

#old_raw_framework_search_pathsArray<String>

按照规则替换framework_search_paths,兼容不同的configuration 从编译上来说,仅仅替换了framework_search_paths的路径就够了

Returns:

  • (Array<String>)

Since:

  • 1.5.0



144
# File 'lib/cocoapods-jxedt/binary/targets/pod_target.rb', line 144

alias_method :old_raw_framework_search_paths, :_raw_framework_search_paths

#old_raw_header_search_pathsArray<String>

Returns:

  • (Array<String>)

Since:

  • 1.5.0



134
# File 'lib/cocoapods-jxedt/binary/targets/pod_target.rb', line 134

alias_method :old_raw_header_search_paths, :_raw_header_search_paths