class Pod::Generator::XCConfig::PublicPodXCConfig
libraries, frameworks, weak frameworks and xcconfig overrides.
xcconfig includes the standard podspec defined values including
configuration value collision with the build settings of other Pods. This
The public xcconfig file for a Pod is completely namespaced to prevent
Generates the public xcconfigs for the pod targets.
def generate
-
(Xcodeproj::Config)-
def generate @xcconfig = Xcodeproj::Config.new target.file_accessors.each do |file_accessor| XCConfigHelper.add_spec_build_settings_to_xcconfig(file_accessor.spec_consumer, @xcconfig) file_accessor.vendored_frameworks.each do |vendored_framework| XCConfigHelper.add_framework_build_settings(vendored_framework, @xcconfig, target.sandbox.root) end file_accessor.vendored_libraries.each do |vendored_library| XCConfigHelper.add_library_build_settings(vendored_library, @xcconfig, target.sandbox.root) end end @xcconfig end
def initialize(target)
-
target(Target) -- @see target
def initialize(target) @target = target end
def save_as(path)
-
(void)-
Parameters:
-
path(Pathname) --
def save_as(path) generate.save_as(path, target.xcconfig_prefix) end