我正在尝试为我的类设置podspec,它似乎没有在我的项目中正确包含sqlite库。当我使用这个pod时,我必须手动链接它。我是否未正确设置podspec,或者我是否需要在项目中执行某些操作才能自动包含sqlite库?
Pod::Spec.new do |s|
s.name = "ABSQLite"
s.version = "1.1.0"
s.summary = "ABSQLite is an Objective-C wrapper to SQLite making it easy to use the database."
s.homepage = "https://github.com/AaronBratcher/ABSQLite"
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { "Aaron L. Bratcher" => "aaronbratcher1@gmail.com" }
s.social_media_url = "http://twitter.com/AaronLBratcher"
s.source = { :git => "https://github.com/AaronBratcher/ABSQLite.git", :tag => '1.1.0' }
s.source_files = 'Classes/**/*.{h,m}'
s.library = 'sqlite3'
s.requires_arc = true
end
答案 0 :(得分:0)