Skip to content
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

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

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

Comments

Projects
None yet
2 participants
@dabing1022
Copy link

commented Dec 25, 2014

➜  ~  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

This comment has been minimized.

Copy link
Author

commented Dec 25, 2014

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

This comment has been minimized.

Copy link
Owner

commented Dec 25, 2014

pod search HMSegmentedControl show 1.4.0 here.

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

@dabing1022

This comment has been minimized.

Copy link
Author

commented Dec 26, 2014

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
You can’t perform that action at this time.