pod spec create
This will create the example MyProject.podspec file that you need to fill out.
Pod::Spec.new do |s|
s.name = "BSModalPickerView"
s.version = "0.1"
s.summary = "A custom UIPickerView with a simple list of options, along with a toolbar for Done/Cancel and a faded backdrop view."
s.homepage = "https://github.com/subdigital/BSModalPickerView"
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { "Ben Scheirman" => "ben@scheirman.com" }
s.source = {
:git => "https://github.com/subdigital/BSModalPickerView.git",
:tag => "0.1"
}
s.platform = :ios, '4.0'
s.source_files = '*.{h,m}'
s.requires_arc = true
end
pod spec lint MyProject.podspec
If you want to publish your podspec to a custom repository, you can follow these instructions on the wiki.