Class: Pod::AggregateTarget

Inherits:
Object
  • Object
show all
Defined in:
lib/swordfish/hmap/pod_target.rb,
lib/swordfish/native/target_architectures.rb

Instance Method Summary collapse

Instance Method Details

#reset_header_search_with_relative_hmap_path(hmap_path) ⇒ Object



83
84
85
86
87
88
89
90
# File 'lib/swordfish/hmap/pod_target.rb', line 83

def reset_header_search_with_relative_hmap_path(hmap_path)
  # override xcconfig
  xcconfigs.each do |config_name, config_file|
    config_file.reset_header_search_with_relative_hmap_path(hmap_path, @prebuilt_hmap_target_names.uniq)
    config_path = xcconfig_path(config_name)
    config_file.save_as(config_path)
  end
end

#set_archs(is_arm64) ⇒ Object



30
31
32
33
34
35
36
37
38
39
40
# File 'lib/swordfish/native/target_architectures.rb', line 30

def set_archs(is_arm64)
  xcconfigs.each do |config_name, config_file|
    if is_arm64
      config_file.set_archs_arm64
    else
      config_file.set_archs_default
    end
    config_path = xcconfig_path(config_name)
    config_file.save_as(config_path)
  end
end