Commit 7f0d439f authored by Fabio Pelosin's avatar Fabio Pelosin

[TargetIntegrator] Use Pods group

via @kylef
parent 12a3b8d6
......@@ -72,8 +72,9 @@ module Pod
#
def self.set_target_xcconfig(pod_bundle, config)
path = pod_bundle.xcconfig_relative_path(config.name)
file_ref = config.project.files.find { |f| f.path == path }
file_ref ||= config.project.new_file(path)
group = config.project['Pods'] || config.project.new_group('Pods')
file_ref = group.files.find { |f| f.path == path }
file_ref ||= group.new_file(path)
config.base_configuration_reference = file_ref
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment