Skip to content

Commit

Permalink
Support App Extension
Browse files Browse the repository at this point in the history
  • Loading branch information
TravelC committed Feb 18, 2020
1 parent 4fdf3fd commit 4e7d9cd
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions SVProgressHUD.podspec
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = 'SVProgressHUD'
s.version = '2.2.6'
s.ios.deployment_target = '8.3'
s.version = '2.2.5'
s.ios.deployment_target = '8.0'
s.tvos.deployment_target = '9.0'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.summary = 'A clean and lightweight progress HUD for your iOS and tvOS app.'
Expand All @@ -11,8 +11,19 @@ Pod::Spec.new do |s|

s.description = 'SVProgressHUD is a clean and easy-to-use HUD meant to display the progress of an ongoing task on iOS and tvOS. The success and error icons are from Freepik from Flaticon and are licensed under Creative Commons BY 3.0.'

s.source_files = 'SVProgressHUD/*.{h,m}'
s.framework = 'QuartzCore'
s.resources = 'SVProgressHUD/SVProgressHUD.bundle'
s.requires_arc = true

s.default_subspec = 'Core'

s.subspec 'Core' do |core|
core.source_files = 'SVProgressHUD/*.{h,m}'
core.resources = 'SVProgressHUD/SVProgressHUD.bundle'
end

s.subspec 'AppExtension' do |ext|
ext.source_files = 'SVProgressHUD/*.{h,m}'
ext.resources = 'SVProgressHUD/SVProgressHUD.bundle'
ext.pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => 'SV_APP_EXTENSIONS=1' }
end
end

0 comments on commit 4e7d9cd

Please sign in to comment.