Podspec Link Binary Library
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm attempting to create a Podspec for: https://github.com/sincerely/shiplib-ios-framework Pod Lint passes & the files are being added to the project but it does not link the binary "Sincerely" file. The sample project build fails due to missing files when importing via: <Sincerely/filename.h> Pod::Spec.new do |s| s.name = 'ShipLib' s.version = '1.4' ... s.source = { :git => 'https://github.com/sincerely/shiplib-ios-framework.git', :tag => 's.version.to_s' } s.library = 'Sincerely' s.source_files = 'Sincerely.framework','Sincerely.framework