美文网首页
cocopod 分享项目

cocopod 分享项目

作者: 光彩影 | 来源:发表于2017-08-22 16:12 被阅读17次

    copodtest:为项目名
    1.pod trunk register 935966764@qq.com 'wscqs' --verbose
    2.pod spec create copodtest
    3.pod spec lint copodtest.podspec //检测
    3.1.pod spec lint copodtest.podspec --verbose --use-libraries --allow-warnings //--use-libraries 有静态库加入 and --allow-warnings允许警告
    4.pod trunk push
    4.1 pod trunk push copodtest.podspec --use-libraries --allow-warnings // 同3.1

    Pod::Spec.new do |s|
    
      s.name         = "copodtest"
      s.version      = "5.0.0"
      s.summary      = "photo browser for ios."
      #  s.description  = "A short description of copodtest."
      s.homepage     = "https://github.com/wscqs/cqsPodTest"
      s.license      = "MIT"
      s.author             = { "wscqs" => "935966764@qq.com" }
      s.source       = { :git => "https://github.com/wscqs/cqsPodTest.git", :tag => "#{s.version}" }
      s.source_files  = "copodtest", "copodtest/copodtest/*.{h,m}"
      #  s.exclude_files = "Classes/Exclude"
      s.ios.deployment_target = '8.0'
      s.frameworks   = 'UIKit'
      s.requires_arc = true
      s.dependency 'BeeHive', '~> 1.5.1'
      s.dependency 'AFNetworking'
      s.dependency 'YYCache'
      s.dependency 'YYModel'
      s.dependency 'SDWebImage'
      s.dependency 'FMDB'
      s.dependency 'Reachability'
      s.dependency 'MJRefresh'
      s.dependency 'DZNEmptyDataSet'
      s.dependency 'SVProgressHUD'
      s.dependency 'Toast'
      s.dependency 'SYFavoriteButton'
      s.dependency 'SDCycleScrollView'
      s.dependency 'Masonry'
      s.dependency 'YYText'
      s.dependency 'IQKeyboardManager'
      s.dependency 'UMengUShare/UI'
      s.dependency 'UMengUShare/Social/ReducedWeChat'
      s.dependency 'UMengUShare/Social/ReducedQQ'
      s.dependency 'UMengUShare/Social/Sina'
      s.dependency 'UMengUShare/Social/Email'
      s.dependency 'UMengUShare/Social/SMS'
      s.dependency 'UMengAnalytics'
    
      # s.public_header_files = "Classes/**/*.h"
      # s.resource  = "icon.png"
      # s.resources = "Resources/*.png"
    end
    
    

    相关文章

      网友评论

          本文标题:cocopod 分享项目

          本文链接:https://www.haomeiwen.com/subject/fbyldxtx.html