Navigation Menu

Skip to content

Commit

Permalink
Merge pull request #991 from tobihagemann/2.2.x
Browse files Browse the repository at this point in the history
App Extension compatibility in Podspec
  • Loading branch information
Tobias Tiemerding committed Mar 28, 2020
2 parents 4fdf3fd + dd54bf2 commit a47f3d3
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions SVProgressHUD.podspec
Expand Up @@ -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 a47f3d3

Please sign in to comment.