Commit e4d56d54 authored by Marius Rackwitz's avatar Marius Rackwitz

[Analyzer] Set host_requires_frameworks even if where are not integrating

parent a6564cd0
...@@ -198,13 +198,13 @@ module Pod ...@@ -198,13 +198,13 @@ module Pod
# #
def generate_target(target_definition, specs) def generate_target(target_definition, specs)
target = AggregateTarget.new(target_definition, sandbox) target = AggregateTarget.new(target_definition, sandbox)
target.host_requires_frameworks |= target_definition.uses_frameworks?
if config.integrate_targets? if config.integrate_targets?
project_path = compute_user_project_path(target_definition) project_path = compute_user_project_path(target_definition)
user_project = Xcodeproj::Project.open(project_path) user_project = Xcodeproj::Project.open(project_path)
native_targets = compute_user_project_targets(target_definition, user_project) native_targets = compute_user_project_targets(target_definition, user_project)
target.host_requires_frameworks |= target_definition.uses_frameworks?
target.user_project_path = project_path target.user_project_path = project_path
target.client_root = project_path.dirname target.client_root = project_path.dirname
target.user_target_uuids = native_targets.map(&:uuid) target.user_target_uuids = native_targets.map(&:uuid)
......
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