Commit bdd89071 authored by Marius Rackwitz's avatar Marius Rackwitz

[Doc] Explain why the aggregate target is weak linked

parent a7961845
...@@ -122,6 +122,9 @@ module Pod ...@@ -122,6 +122,9 @@ module Pod
build_file = build_phase.add_file_reference(new_product_ref) build_file = build_phase.add_file_reference(new_product_ref)
end end
if target.requires_frameworks? if target.requires_frameworks?
# Weak link the aggregate target's product, because as it contains
# no symbols, it isn't copied into the app bundle. dyld will so
# never try to find the missing executable at runtime.
build_file.settings ||= {} build_file.settings ||= {}
build_file.settings['ATTRIBUTES'] = ['Weak'] build_file.settings['ATTRIBUTES'] = ['Weak']
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