

Pod::Spec.new do |s|
  s.name             = 'CPCMobAdSDK'
  s.version          = '0.0.3.1'
  s.summary          = 'CPCMobAdSDK 广告SDK , 包含 :多图 ,图文 ,大图 ,横幅 ,文字链 ,视频 ,开屏 ,优化Appstore应用内打开需要两次返回的问题 '


  s.description      = <<-DESC
CPCMobAdSDK 广告SDK , 包含 :多图 ,图文 ,大图 ,横幅 ,文字链 ,视频 ,开屏
去掉Masonry依赖,修复一些因为Masonry的界面问题 
优化Appstore应用内打开需要两次返回的问题
                       DESC
  s.homepage         = 'https://github.com/wo1348184465/CPCMobAdSDK'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { '丁昊' => 'dinghao@qutoutiao.net' }
  s.source           = { :git => 'https://github.com/wo1348184465/CPCMobAdSDK.git', :tag => s.version.to_s }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  # s.ios.deployment_target = '8.0'

  s.platform    = :ios, "8.0"                  #支持的平台和版本号


  s.resource_bundles = {
      'CPCMobAdSDK' => ['CPCMobAdSDK/Source/*.{png}']
      #'CPCSource' => ['CPCMobAdSDKTest/Source/*.{png}']

  }
  # s.frameworks = 'UIKit','Foundation'
  # s.public_header_files = 'Pod/Classes/**/*.h'
  s.frameworks = 'UIKit','Foundation'
  #s.subspec 'BauduMobAdSDK' do |ss|
  # s.frameworks = 'UIKit','MessageUI','WebKit','CoreMedia' ,'Foundation','CoreMedia','CoreMotion','SystemConfiguration','CoreLocation','CoreTelephony','adSupport','AVFoundation'
      #end
  s.libraries = 'c++'

  s.dependency 'AFNetworking', '3.1.0'
  s.dependency 'WebViewJavascriptBridge', '6.0.3'
  # s.dependency 'CPCBaiduMobAdSDK' ,'0.0.1'


  s.vendored_frameworks = 'CPCMobAdSDK/*.{framework}' 

end




# Pod::Spec.new do |s|
#   s.name             = 'CPCMobAdSDK'
#   s.version          = '0.1.1'
#   s.summary          = 'CPCMobAdSDK  includes three graphic ads, group ads, graphic ads, banner ads, Video ads and Launch ads. CPC was replaced with frame adaptation by masonry.add BaiduMobAdSDK'



#   s.description      = <<-DESC
# TODO: Add long description of the pod here.
#                        DESC

#   s.homepage         = 'https://www.jianshu.com/u/5f9dd7c82945'
#   # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
#   s.license          = { :type => 'MIT', :file => 'LICENSE' }
#   s.author           = { '丁昊' => 'dinghao@qutoutiao.net' }
#   s.source           = { :git => 'git@git.qutoutiao.net:dinghao/CPCMobAdSDK.git', :tag => s.version.to_s }
#   # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

#   s.ios.deployment_target = '8.0'

#   #s.source_files = 'CPCMobAdSDK/Classes/**/*'
  
# end
