raiseInformative,"#{aggregate_target.name} must call use_frameworks! because it is hosting an embedded target that calls use_frameworks!."unlessaggregate_target.requires_frameworks?
check_prop.call(host_target_definition,target_definition,:platform,'do not use the same platform')
check_prop.call(host_target_definition,target_definition,:uses_frameworks?,'do not both set use_frameworks!')
check_prop.call(host_target_definition,target_definition,:swift_version,'do not use the same Swift version')
end
end
unlesstarget_mismatches.empty?
heading='Unable to integrate the following embedded targets with their respective host targets (a host target is a "parent" target which embeds a "child" target like a framework or extension):'