Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
g763007297 committed Jan 19, 2017
1 parent 0b719ea commit c82342d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions GQImageViewer.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,22 @@ Pod::Spec.new do |s|

s.platform = :ios, "6.0"

s.source = { :git => "https://github.com/g763007297/ImageViewer.git" }
s.source = { :git => "https://github.com/g763007297/ImageViewer.git" , :tag => "0.1.2"}

s.requires_arc = true

s.default_subspec = 'Core'

s.subspec 'Core' do |core|
core.source_files = "GQImageViewer/**/*.{h,m}"
core.exclude_files = 'GQImageViewer/GQCategory/UIImage+GQImageViewrCategory.{h,m}'
end

s.subspec 'WebP' do |webp|
webp.source_files = 'GQImageViewer/GQCategory/UIImage+GQImageViewrCategory.{h,m}'

webp.xcconfig = {
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) SD_WEBP=1',
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) GQ_WEBP=1',
'USER_FRAMEWORK_SEARCH_PATHS' => '$(inherited) $(SRCROOT)/GQImageViewer/GQThirdPart'
}

webp.dependency 'GQImageViewer/Core'
Expand Down

0 comments on commit c82342d

Please sign in to comment.