Authored by gaoqiang xu

update podspec file

1 Pod::Spec.new do |s| 1 Pod::Spec.new do |s|
2 s.name = "YHExplorer" 2 s.name = "YHExplorer"
3 - s.version = "1.0.4" 3 + s.version = "1.0.6"
4 s.summary = "Integrated WebView with Cordova" 4 s.summary = "Integrated WebView with Cordova"
5 s.description = <<-DESC 5 s.description = <<-DESC
6 An WebView Kit integrated Cordova. 6 An WebView Kit integrated Cordova.
@@ -28,6 +28,10 @@ Pod::Spec.new do |s| @@ -28,6 +28,10 @@ Pod::Spec.new do |s|
28 ss.source_files = 'YHExplorer/CordovaPlugins/*.{h,m}' 28 ss.source_files = 'YHExplorer/CordovaPlugins/*.{h,m}'
29 end 29 end
30 30
  31 + s.subspec 'webp' do |ss|
  32 + ss.source_files = 'YHExplorer/CordovaPlugins/webp/*.{h,m}'
  33 + end
  34 +
31 s.subspec 'Extend' do |ss| 35 s.subspec 'Extend' do |ss|
32 ss.source_files = 'YHExplorer/Extend/*.{h,m}' 36 ss.source_files = 'YHExplorer/Extend/*.{h,m}'
33 end 37 end
@@ -46,6 +50,8 @@ Pod::Spec.new do |s| @@ -46,6 +50,8 @@ Pod::Spec.new do |s|
46 ss.source_files = 'YHExplorer/YHLinkParser/*.{h,m}' 50 ss.source_files = 'YHExplorer/YHLinkParser/*.{h,m}'
47 end 51 end
48 52
  53 + s.vendored_frameworks = 'YHExplorer/CordovaPlugins/webp/WebP.framework'
  54 +
49 s.frameworks = 'Foundation', 'CoreGraphics', 'UIKit' 55 s.frameworks = 'Foundation', 'CoreGraphics', 'UIKit'
50 56
51 end 57 end