Commit 3c9eee0c authored by Paul Beusterien's avatar Paul Beusterien

Fix a few typos

parent 1cf1745f
...@@ -74,9 +74,9 @@ module Pod ...@@ -74,9 +74,9 @@ module Pod
pod_targets = aggregate_target.pod_targets_for_build_configuration(config) pod_targets = aggregate_target.pod_targets_for_build_configuration(config)
dependencies = pod_targets.select(&:should_build?).flat_map(&:dependencies) dependencies = pod_targets.select(&:should_build?).flat_map(&:dependencies)
dependended_upon_targets = pod_targets.select { |t| dependencies.include?(t.pod_name) && !t.should_build? } depended_upon_targets = pod_targets.select { |t| dependencies.include?(t.pod_name) && !t.should_build? }
static_libs = dependended_upon_targets.flat_map(&:file_accessors).flat_map(&:vendored_static_artifacts) static_libs = depended_upon_targets.flat_map(&:file_accessors).flat_map(&:vendored_static_artifacts)
unless static_libs.empty? unless static_libs.empty?
raise Informative, "The '#{aggregate_target.label}' target has " \ raise Informative, "The '#{aggregate_target.label}' target has " \
"transitive dependencies that include static binaries: (#{static_libs.to_sentence})" "transitive dependencies that include static binaries: (#{static_libs.to_sentence})"
......
...@@ -2,7 +2,7 @@ module Pod ...@@ -2,7 +2,7 @@ module Pod
# Model class which describes a Pods target. # Model class which describes a Pods target.
# #
# The Target class stores and provides the information necessary for # The Target class stores and provides the information necessary for
# working with a target in the Podfile and it's dependent libraries. # working with a target in the Podfile and its dependent libraries.
# This class is used to represent both the targets and their libraries. # This class is used to represent both the targets and their libraries.
# #
class Target class Target
......
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