Pod::Spec.new do |s| s.name = "SVGAPlayer" s.version = "2.5.2" s.summary = "SVGAPlayer æ¯ä¸ä¸ªé«æ§è½çå¨ç»ææ¾å¨" s.description = <<-DESC SVGA æ¯ä¸ä¸ªç§æçå¨ç»æ ¼å¼ï¼ç± YY UED 主导å¼åã SVGA ç± SVG æ¼è¿èæï¼ä¸ SVG ä¸å ¼å®¹ã SVGA å¯ä»¥å¨ iOS / Android / Web(PC/ç§»å¨ç«¯) å®ç°é«æ§è½çå¨ç»ææ¾ã DESC s.homepage = "http://code.yy.com/ued/SVGAPlayer" s.license = "Apache 2.0" s.author = { "PonyCui" => "[email protected]" } s.platform = :ios, "7.0" s.source = { :git => "https://github.com/yyued/SVGAPlayer-iOS.git", :tag => s.version } s.subspec 'Core' do |ss| ss.source_files = "Source/*.{h,m}" ss.requires_arc = true ss.dependency 'SSZipArchive', '>= 1.8.1' ss.library = "z" ss.framework = "AVFoundation" ss.dependency 'SVGAPlayer/ProtoFiles' end s.subspec 'ProtoFiles' do |ss| ss.source_files = "Source/pbobjc/*.{h,m}" ss.requires_arc = false ss.dependency 'Protobuf', '~> 3.4' ss.pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1', } end end