Commit 4875a76e authored by Marius Rackwitz's avatar Marius Rackwitz

Set headers as public if needed in PodTargetInstaller

parent 0c81d6ff
...@@ -55,6 +55,14 @@ module Pod ...@@ -55,6 +55,14 @@ module Pod
other_file_refs = other_source_files.map { |sf| project.reference_for_path(sf) } other_file_refs = other_source_files.map { |sf| project.reference_for_path(sf) }
native_target.add_file_references(other_file_refs, nil) native_target.add_file_references(other_file_refs, nil)
# Set added headers as public if needed
if native_target.symbol_type == :framework
native_target.headers_build_phase.files.each do |build_file|
build_file.settings ||= {}
build_file.settings['ATTRIBUTES'] = ['Public']
end
end
end end
end 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