diff --git a/lib/cocoapods-core/platform.rb b/lib/cocoapods-core/platform.rb index 9e2e62dcd..1c60c1ed4 100644 --- a/lib/cocoapods-core/platform.rb +++ b/lib/cocoapods-core/platform.rb @@ -86,6 +86,10 @@ def ==(other) end end + def hash + name.hash ^ deployment_target.hash + end + # Checks whether a platform supports another one. # # In the context of operating system SDKs, a platform supports another