Commit d9b30f5d authored by Samuel Giddins's avatar Samuel Giddins

[PodTargetInstaller] Wrap versions so they compare properly

parent 8dc7e3e0
......@@ -317,7 +317,9 @@ module Pod
#
def deployment_target
default = Podfile::TargetDefinition::PLATFORM_DEFAULTS[target.platform.name]
target.specs.map { |spec| spec.deployment_target(target.platform) || default }.max
target.specs.map do |spec|
Pod::Version.new(spec.deployment_target(target.platform) || default)
end.max.to_s
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