Reputation: 129
I'm trying to install this pod 'YBTextPicker' through the my Cocoapods Podfile instead of dragging and dropping the project into Xcode. However, I got the following error after running pod install
command:
[!] Unable to find a specification for 'YBTextPicker'.
What am I doing wrong? This is my podfile:
platform :ios, '9.0'
use_frameworks!
target 'ViewLib' do
pod 'SkyFloatingLabelTextField', '~> 3.0'
pod 'TPKeyboardAvoiding', '~> 1.3.1'
pod 'BEMCheckBox'
pod 'EPSignature', :git => 'https://github.com/MC1Tecnologia/EPSignature.git'
pod 'YBTextPicker', :git => 'https://github.com/YahyaBagia/YBTextPicker.git'
pod 'Charts', '~> 3.1.1'
end
Here is the framework URL if you want to check it out.
Upvotes: 0
Views: 289
Reputation: 4914
That's because YBTextPicker
doesn't exists as a pod. You can't just add any git project to your podfile
; they need to have a podspec
(and, if you want to install them without specifying a git path, their podspec needs to be added to the master Cocoapods repo.)
You can fork the branch and create your own pod. But that is a bit of work.
Upvotes: 1