Commit 5b76b2cf authored by Marius Rackwitz's avatar Marius Rackwitz

Don't link binaries of build framework pods to the user target

In case of generated pod targets, which require frameworks, the vendored frameworks and libraries are already linked statically into the framework binary and must not be linked again to the user target.
parent e4f48df8
...@@ -82,7 +82,13 @@ module Pod ...@@ -82,7 +82,13 @@ module Pod
XCConfigHelper.add_target_specific_settings(target, @xcconfig) XCConfigHelper.add_target_specific_settings(target, @xcconfig)
pod_targets.each do |pod_target| pod_targets.each do |pod_target|
unless pod_target.should_build? && pod_target.requires_frameworks?
# In case of generated pod targets, which require frameworks, the
# vendored frameworks and libraries are already linked statically
# into the framework binary and must not be linked again to the
# user target.
XCConfigHelper.add_settings_for_file_accessors_of_target(pod_target, @xcconfig) XCConfigHelper.add_settings_for_file_accessors_of_target(pod_target, @xcconfig)
end
# Add pod target to list of frameworks / libraries that are # Add pod target to list of frameworks / libraries that are
# linked with the user’s project. # linked with the user’s project.
......
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