在这个spec文件中,我遇到了一个语法错误:
Pod::Spec.new do |s|
s.name = "BSImageLoader"
s.version = "0.1.3"
s.summary = "The image loading framework for PicPoc"
s.homepage = "https://bitbucket.org/boolalsofware/bsimageloader"
s.license = 'MIT'
s.author = { "Spencer Comerford" => "Spencevail@gmail.com" }
s.source = { :git => "git@bitbucket.org:boolalsofware/bsimageloader.git", :tag => "0.1.3" }
s.source_files = 'Classes/*.{h,m}', 'Classes/PublicHeaders/*'
s.public_header_files = 'Classes/PublicHeaders/*.h'
s.dependency = 'BSTiledImageView', :git => 'git@bitbucket.org:boolalsofware/bstiledimageview.git'
s.frameworks = 'QuartzCore', 'AssetsLibrary', 'UIKit'
s.requires_arc = true
end
问题出在依赖项指向的 Bitbucket 存储库上。我已经使用本地依赖项让它工作了,但由于某些原因,在 Git 存储库中它却不能正常工作。感谢任何帮助!
s.dependency = 'FFMpegPlayer'
真的需要吗? - Mohammad Zaid Pathans.dependency 'FFMpegPlayer'
。 - Fitsyu