YHExplorer.podspec 1.65 KB
Pod::Spec.new do |s|
  s.name             = "YHExplorer"
  s.version          = "1.1.0-beta"
  s.summary          = "Integrated WebView with Cordova"
  s.description      = <<-DESC
                       An WebView Kit integrated Cordova.
                       DESC
  s.homepage         = "http://git.yoho.cn/ios/yhexplorer"
  s.license          = 'MIT'
  s.author           = { "xugaoqiang" => "eric.xu@yoho.cn" }
  s.source           = { :git => "http://git.yoho.cn/ios/yhexplorer.git", :tag => s.version.to_s }

  s.platform     = :ios, '7.0'
  s.requires_arc = true

  s.dependency 'YH_WebP', '~> 1.0.0'

  s.source_files = 'YHExplorer/*.{h,m}'
  s.resources = 'YHExplorer/*.{xml,js}'

  s.subspec 'Cache' do |ss|
  ss.source_files = 'YHExplorer/Cache/*.{h,m}'
  end

  s.subspec 'CordovaLib' do |ss|
  ss.source_files = 'YHExplorer/CordovaLib/**/*.{h,m}'
  end

  s.subspec 'CordovaPlugins' do |ss|
  ss.source_files = 'YHExplorer/CordovaPlugins/*.{h,m}'

  ss.subspec 'webp' do |sss|
  sss.source_files = 'YHExplorer/CordovaPlugins/webp/*.{h,m}'
  end

  end

  s.subspec 'Extend' do |ss|
  ss.source_files = 'YHExplorer/Extend/*.{h,m}'
  end

  s.subspec 'NativeActions' do |ss|
  ss.source_files = 'YHExplorer/NativeActions/**/*.{h,m}'
  ss.resources = 'YHExplorer/NativeActions/**/*.{xml,js}'
  end

  s.subspec 'WebProgressView' do |ss|
  ss.source_files = 'YHExplorer/WebProgressView/*.{h,m}'
  ss.resources = 'YHExplorer/Mask.png'
  end

  s.subspec 'YHLinkParser' do |ss|
  ss.source_files = 'YHExplorer/YHLinkParser/*.{h,m}'
  end

  s.frameworks = 'Foundation', 'CoreGraphics', 'UIKit', 'CoreLocation', 'AudioToolbox', 'CoreMotion', 'AssetsLibrary', 'MobileCoreServices'

end