Commit 363af1f5 authored by Jeremy Slater's avatar Jeremy Slater

Fix old target methods naming

parent 2b6f3906
...@@ -247,10 +247,10 @@ module Pod ...@@ -247,10 +247,10 @@ module Pod
# #
def install_source_of_pod(pod_name) def install_source_of_pod(pod_name)
specs_by_platform = {} specs_by_platform = {}
libraries.each do |pod_target| pod_targets.each do |pod_target|
if pod_target.spec && pod_target.spec.root.name == pod_name if pod_target.root_spec.name == pod_name
specs_by_platform[pod_target.platform] ||= [] specs_by_platform[pod_target.platform] ||= []
specs_by_platform[pod_target.platform] << pod_target.spec specs_by_platform[pod_target.platform].concat(pod_target.specs)
end end
end end
......
...@@ -91,7 +91,7 @@ module Pod ...@@ -91,7 +91,7 @@ module Pod
# @return [Specification::Consumer] the consumer for the specifications. # @return [Specification::Consumer] the consumer for the specifications.
# #
def spec_consumers def spec_consumers
@spec_consumers ||= target.libraries.map(&:file_accessors).flatten.map(&:spec_consumer) @spec_consumers ||= target.pod_targets.map(&:file_accessors).flatten.map(&:spec_consumer)
end end
# Adds the `xcconfig` configurations files generated for the current # Adds the `xcconfig` configurations files generated for the current
...@@ -230,9 +230,9 @@ module Pod ...@@ -230,9 +230,9 @@ module Pod
# integration. # integration.
# #
def integration_message def integration_message
"Integrating #{'library'.pluralize(target.libraries.size)} " \ "Integrating Pod #{'target'.pluralize(target.pod_targets.size)} " \
"`#{target.libraries.map(&:name).to_sentence}` " \ "`#{target.pod_targets.map(&:name).to_sentence}` " \
"into target #{target.name} " \ "into aggregate target #{target.name} " \
"of project #{UI.path target.user_project_path}." "of project #{UI.path target.user_project_path}."
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