Commit 22cc618d authored by Marius Rackwitz's avatar Marius Rackwitz

Fix PODS_ROOT for aggregate target

The value was resolved to 'Pods/Pods', before but correct for the user's target. Because the PODS_ROOT build setting is defined in the aggregate xcconfig, which is shared between the aggregate target and the user's target, we have to overwrite the value in the embedded settings in the Pods project's aggregate target.
parent 751eca6b
...@@ -56,6 +56,10 @@ module Pod ...@@ -56,6 +56,10 @@ module Pod
settings['ARCHS'] = target.archs settings['ARCHS'] = target.archs
end end
if target.is_a? AggregateTarget
settings['PODS_ROOT'] = '$(SRCROOT)'
end
if target.requires_framework? if target.requires_framework?
settings['PRODUCT_NAME'] = target.product_module_name settings['PRODUCT_NAME'] = target.product_module_name
else else
......
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