Commit 1cc0e7d5 authored by Samuel E. Giddins's avatar Samuel E. Giddins

[PodTargetInstaller] Dont link modulemap/umbrella header for building, framework pods

parent 1610e670
...@@ -190,6 +190,8 @@ module Pod ...@@ -190,6 +190,8 @@ module Pod
# @return [void] # @return [void]
# #
def link_module_map def link_module_map
return if target.requires_frameworks? && target.should_build?
sandbox.public_headers.add_file(target.name, target.module_map_path, "module.modulemap", target.platform) sandbox.public_headers.add_file(target.name, target.module_map_path, "module.modulemap", target.platform)
end end
...@@ -199,6 +201,7 @@ module Pod ...@@ -199,6 +201,7 @@ module Pod
# #
def link_umbrella_header def link_umbrella_header
return if custom_module_map return if custom_module_map
return if target.requires_frameworks? && target.should_build?
sandbox.public_headers.add_files(target.name, [target.umbrella_header_path], target.platform) sandbox.public_headers.add_files(target.name, [target.umbrella_header_path], target.platform)
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