forked from yoxisem544/ScreenshotPreventing-iOS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ScreenshotPreventing.podspec
39 lines (34 loc) · 1.22 KB
/
ScreenshotPreventing.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Pod::Spec.new do |s|
s.name = "ScreenshotPreventing"
s.version = "1.4.0"
s.summary = "Prevent screenshot or screenrecord on iOS devices"
s. description = <<-EOS
ScreenshotPreventing can help you to wrap views
you do not want user to screenshot or record.
RxSwift extensions exist as wll.
EOS
s.homepage = "https://github.com/yoxisem544/ScreenshotPreventing-iOS"
s.license = { :type => "MIT", :file => "License.md" }
s.author = { "David Liying Lin" => "[email protected]" }
s.social_media_url = "https://twitter.com/yoxisem544"
s.ios.deployment_target = "12.0"
s.source = { :git => "https://github.com/yoxisem544/ScreenshotPreventing-iOS.git", :tag => s.version }
s.default_subspec = "Core"
s.swift_version = "5.3"
s.cocoapods_version = '>= 1.4.0'
s.subspec "Core" do |ss|
ss.source_files = "Sources/Core/"
ss.framework = "Foundation"
ss.framework = "UIKit"
end
s.subspec "RxSwift" do |ss|
ss.source_files = "Sources/RxSwift/"
ss.dependency "ScreenshotPreventing/Core"
ss.dependency "RxSwift", "~> 6.0"
ss.dependency "RxCocoa", "~> 6.0"
end
s.subspec "SwiftUI" do |ss|
ss.source_files = "Sources/SwiftUI/"
ss.dependency "ScreenshotPreventing/Core"
end
end