forked from EFPrefix/EFQRCode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
EFQRCode.podspec
43 lines (35 loc) · 1.73 KB
/
EFQRCode.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
40
41
42
43
Pod::Spec.new do |s|
s.name = 'EFQRCode'
s.version = '5.1.8'
s.summary = 'A better way to operate quick response code in Swift.'
s.description = <<-DESC
EFQRCode is a lightweight, pure-Swift library for generating pretty QRCode image with input watermark or icon and recognizing QRCode from image, it is based on CoreGraphics, CoreImage and ImageIO. EFQRCode provides you a better way to operate QRCode in your app, it works on iOS, macOS, tvOS and watchOS, and it is available through CocoaPods, Carthage and Swift Package Manager.
DESC
s.homepage = 'https://github.com/EFPrefix/EFQRCode'
s.screenshots = 'https://raw.githubusercontent.com/EFPrefix/EFQRCode/assets/EFQRCode.jpg'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'EyreFree' => '[email protected]' }
s.source = { :git => 'https://github.com/EFPrefix/EFQRCode.git', :tag => s.version.to_s }
s.social_media_url = 'https://twitter.com/EyreFree777'
s.ios.deployment_target = '8.0'
s.osx.deployment_target = '10.11'
s.tvos.deployment_target = '9.0'
s.swift_version = '5.0'
s.requires_arc = true
s.frameworks = 'ImageIO', 'CoreGraphics', 'Foundation'
s.ios.framework = 'CoreImage'
s.osx.framework = 'CoreImage'
s.tvos.framework = 'CoreImage'
s.default_subspec = 'Core'
s.subspec 'Core' do |core|
core.source_files = 'Source/**/*.{h,swift}'
end
s.subspec 'watchOS' do |watchos|
watchos.ios.deployment_target = '8.0'
watchos.osx.deployment_target = '10.11'
watchos.tvos.deployment_target = '9.0'
watchos.watchos.deployment_target = '2.0'
watchos.source_files = 'Source/**/*.{h,swift}'
watchos.dependency 'swift_qrcodejs', '>= 1.1.4'
end
end