Skip to content

Why my "pod search HMSegmentedControl" is still version 1.3.0? #77

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
dabing1022 opened this issue Dec 25, 2014 · 3 comments
Closed

Why my "pod search HMSegmentedControl" is still version 1.3.0? #77

dabing1022 opened this issue Dec 25, 2014 · 3 comments

Comments

@dabing1022
Copy link

➜  ~  pod search HMSegmentedControl


-> HMSegmentedControl (1.3.0)
   A drop-in replacement for UISegmentedControl mimicking the style of the one
   in Google Currents and various other Google products.
   pod 'HMSegmentedControl', '~> 1.3.0'
   - Homepage: https://github.com/HeshamMegid/HMSegmentedControl
   - Source:   https://github.com/HeshamMegid/HMSegmentedControl.git
   - Versions: 1.3.0, 1.2.0, 1.1.0, 1.0.0 [master repo]

OSX : 10.9.5

Cocoapods Version:

➜  ~  pod --version
0.33.1

Any ideas? Thanks in advance:]

@dabing1022
Copy link
Author

So, of course, when I write pod 'HMSegmentedControl', '~> 1.4.0' in Podfile, and execute "pod install", it'll show error

Analyzing dependencies
[!] Unable to satisfy the following requirements:

- `HMSegmentedControl (~> 1.4.0)` required by `Podfile`

@HeshamMegid
Copy link
Owner

pod search HMSegmentedControl show 1.4.0 here.

I doubt that's the issue, but try updating to the latest Cocoapods version.

@dabing1022
Copy link
Author

Thanks, @HeshamMegid !
I resolve it according to your suggestion.

Here is the way.

1. update cocoapods to the latest version

$ sudo gem update --system
$ sudo gem install cocoapods
$ pod setup

2. pod --version shows 0.35.0 higher than 0.33.1.

3. pod search HMSegmentedControl in terminal

$ pod search HMSegmentedControl
HMSegmentedControl (1.4.0)
   A drop-in replacement for UISegmentedControl mimicking the style of the one
   in Google Currents and various other Google products.
   pod 'HMSegmentedControl', '~> 1.4.0'
   - Homepage: https://github.com/HeshamMegid/HMSegmentedControl
   - Source:   https://github.com/HeshamMegid/HMSegmentedControl.git
   - Versions: 1.4.0, 1.3.0, 1.2.0, 1.1.0, 1.0.0 [master repo]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants