UITextView-Placeholder icon indicating copy to clipboard operation
UITextView-Placeholder copied to clipboard

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

Open op1000 opened this issue 9 years ago • 3 comments

I used this command instead

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

op1000 avatar May 05 '16 12:05 op1000

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

devxoul avatar May 05 '16 14:05 devxoul

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.

op1000 avatar May 05 '16 15:05 op1000

@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

devxoul avatar May 05 '16 16:05 devxoul