devxoul / UITextView-Placeholder

A missing placeholder for UITextView
MIT License
1.48k stars 259 forks source link

pod 'UITextView+Placeholder', '~> 1.2' is not working #31

Open op1000 opened 8 years ago

op1000 commented 8 years ago

I used this command instead

pod 'UITextView+Placeholder', :git => 'https://github.com/devxoul/UITextView-Placeholder.git', :tag => '1.2.0'

devxoul commented 8 years ago

@op1000, what kind of error message did you get?

op1000 commented 8 years ago

The error message is like this, I typed "pod install" in terminal:

[!] Unable to satisfy the following requirements:

  • UITextView+Placeholder (~> 1.2) required by Podfile

None of the spec sources contain a spec satisfying the UITextView+Placeholder (~> 1.2) dependency. You have either; mistyped the name or version, not added the source repo that hosts the Podspec to >your Podfile, or not got the latest versions of your source repos.

devxoul commented 8 years ago

@op1000, That's odd. Have you tried after updating spec repo?

$ pod repo update # this will update local CocoaPods spec repository
Updating spec repo `master`
$ pod install # then try install again

If it doesn't work, please let me know your CocoaPods version.

$ pod --version
0.39.0