CocoaPods/Core

Cocoapods doesn't install the correct version when versions have metadata

Closed this issue · 0 comments

I have a dependency which has a couple of metadata options. Based on that, I have the following podspec versions:

MyDependency

  • 1.0.0
  • 1.0.0+code
  • 1.0.0+debug

However, if my Podfile has

pod 'MyDependency, '1.0.0+code'

Cocoapods installs the version 1.0.0+debug

I would expect that given the absence of any logical operator or ~>, CocoaPods would pick up the exact version I specified i.e. 1.0.0+code