1. 安装 cocoapods-packager
如果没有安装 cocoapods-packager ,可以使用如下命令安装:
$ gem install cocoapods-packager
2. podspec文件的内容结构
#
# Be sure to run `pod lib lint ASDK.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'ASDK'
s.version = '0.1.0'
s.summary = 'A short description of ASDK.'
# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it short, snappy and to the point.
# * Write the description between the DESC delimiters below.
# * Finally, don't worry about the indent, CocoaPods strips it!
s.description = <<-DESC
TODO: Add long description of the