Skip to content

Commit

Permalink
Updated podspec.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanvorobei committed Jun 6, 2021
1 parent ed5c1d0 commit c3d4c97
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions SPPermissions.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "SPPermissions"
s.version = "6.4.6"
s.version = "6.4.7"
s.summary = "Ask permissions on Swift. Available List, Dialog & Native interface. Can check state permission."
s.homepage = "https://github.com/ivanvorobei/SPPermissions"
s.source = { :git => "https://github.com/ivanvorobei/SPPermissions.git", :tag => s.version }
Expand Down Expand Up @@ -123,7 +123,7 @@ Pod::Spec.new do |s|
subspec.dependency 'SPPermissions/Core'
subspec.source_files = "Sources/SPPermissionsMusic/**/*.swift"
subspec.pod_target_xcconfig = {
"SWIFT_ACTIVE_COMPILATION_CONDITIONS" => "SPPERMISSIONS_Music SPPERMISSIONS_COCOAPODS"
"SWIFT_ACTIVE_COMPILATION_CONDITIONS" => "SPPERMISSIONS_MUSIC SPPERMISSIONS_COCOAPODS"
}
end

Expand All @@ -143,4 +143,12 @@ Pod::Spec.new do |s|
}
end

s.subspec 'Siri' do |subspec|
subspec.dependency 'SPPermissions/Core'
subspec.source_files = "Sources/SPPermissionsSiri/**/*.swift"
subspec.pod_target_xcconfig = {
"SWIFT_ACTIVE_COMPILATION_CONDITIONS" => "SPPERMISSIONS_SIRI SPPERMISSIONS_COCOAPODS"
}
end

end

0 comments on commit c3d4c97

Please sign in to comment.