yonat/MultiSelectSegmentedControl

Old Cocoapod version

jamiedaniel opened this issue · 6 comments

Description of the problem:
When using the cocoapods default entry. The base version offered is 1.2.1 which fails the tests etc.

Minimal project that reproduces the problem (so I'll be able to figure out how to fix it):

  • Create a new app.
  • Git init the project.
  • pod 'MultiSelectSegmentedControl' in the Podfile
  • pod install
  • check the version is 1.2.1 not the most current which should. e the default behavior.
yonat commented

Latest version is 2.1.1 . What tests fail?

yonat commented

It's hard to tell what's the problem without seeing your Podfile, you're Podfile.lock, and the errors you're getting...

You may try running pod update MultiSelectSegmentedControl and see if it helps.

yonat commented

@jamiedaniel Did it work? Still having problems? Have specific errors to share?

I think there are two issues right now. For reasons that are not at all clear to me, the search feature on cocoapods.org shows the version number as 1.2.1:
Screen Shot 2019-10-22 at 10 44 11 AM
I think this is at least related to the original issue here.

Second, it appears that 2.2.0 is the latest version pushed to pod trunk, despite a 2.3.0 release being tagged here on GitHub:
Screen Shot 2019-10-22 at 10 44 35 AM

yonat commented

The search results error on cocoapods.org is out of my control.

As for the difference between the latest git tag (2.3.0) and the latest pod trunk version (2.2.0), this is because of this CocoaPods trunk push issue.
In essence, it means a pod can either have SwiftUI option and iOS >= 11, or no SwiftUI and iOS < 11. Version 2.3.0 adds an optional SwiftUI wrapper, and so can't be pushed to trunk unless I change the iOS version to 11 (which breaks some of my clients projects).