forked from SwifterSwift/SwifterSwift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SwifterSwift.podspec
105 lines (85 loc) · 3.44 KB
/
SwifterSwift.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
Pod::Spec.new do |s|
s.name = 'SwifterSwift'
s.version = '6.0.0'
s.summary = 'A handy collection of more than 500 native Swift extensions to boost your productivity.'
s.description = <<-DESC
SwifterSwift is a collection of over 500 native Swift extensions, with handy methods, syntactic sugar, and performance improvements for wide range of primitive data types, UIKit and Cocoa classes –over 500 in 1– for iOS, macOS, tvOS and watchOS.
DESC
s.homepage = 'https://github.com/SwifterSwift/SwifterSwift'
s.license = { type: 'MIT', file: 'LICENSE' }
s.authors = { 'Omar Albeik' => 'omaralbeik@gmail.com' }
s.social_media_url = 'http://twitter.com/omaralbeik'
s.screenshot = 'https://raw.githubusercontent.com/SwifterSwift/SwifterSwift/master/Assets/logo.png'
s.documentation_url = 'http://swifterswift.com/docs'
s.ios.deployment_target = '12.0'
s.osx.deployment_target = '10.13'
s.tvos.deployment_target = '12.0'
s.watchos.deployment_target = '4.0'
s.swift_version = '5.8'
s.requires_arc = true
s.source = { git: 'https://github.com/SwifterSwift/SwifterSwift.git', tag: s.version.to_s }
s.source_files = 'Sources/SwifterSwift/**/*.swift'
# SwiftStdlib Extensions
s.subspec 'SwiftStdlib' do |sp|
sp.source_files = 'Sources/SwifterSwift/Shared/*.swift', 'Sources/SwifterSwift/SwiftStdlib/*.swift'
end
# Foundation Extensions
s.subspec 'Foundation' do |sp|
sp.source_files = 'Sources/SwifterSwift/Shared/*.swift', 'Sources/SwifterSwift/Foundation/*.swift'
end
# UIKit Extensions
s.subspec 'UIKit' do |sp|
sp.source_files = 'Sources/SwifterSwift/Shared/*.swift', 'Sources/SwifterSwift/UIKit/*.swift'
end
# AppKit Extensions
s.subspec 'AppKit' do |sp|
sp.source_files = 'Sources/SwifterSwift/Shared/*.swift', 'Sources/SwifterSwift/AppKit/*.swift'
end
# CoreGraphics Extensions
s.subspec 'CoreGraphics' do |sp|
sp.source_files = 'Sources/SwifterSwift/CoreGraphics/*.swift'
end
# CoreLocation Extensions
s.subspec 'CoreLocation' do |sp|
sp.source_files = 'Sources/SwifterSwift/CoreLocation/*.swift'
end
# CoreAnimation Extensions
s.subspec 'CoreAnimation' do |sp|
sp.source_files = 'Sources/SwifterSwift/Shared/*.swift', 'Sources/SwifterSwift/CoreAnimation/*.swift'
end
# CryptoKit Extensions
s.subspec 'CryptoKit' do |sp|
sp.source_files = 'Sources/SwifterSwift/Shared/*.swift', 'Sources/SwifterSwift/CryptoKit/*.swift'
end
# MapKit Extensions
s.subspec 'MapKit' do |sp|
sp.source_files = 'Sources/SwifterSwift/Shared/*.swift', 'Sources/SwifterSwift/MapKit/*.swift'
end
# SpriteKit Extensions
s.subspec 'SpriteKit' do |sp|
sp.source_files = 'Sources/SwifterSwift/SpriteKit/*.swift'
end
s.subspec 'SceneKit' do |sp|
sp.source_files = 'Sources/SwifterSwift/Shared/*.swift', 'Sources/SwifterSwift/SceneKit/*.swift'
end
# StoreKit Extensions
s.subspec 'StoreKit' do |sp|
sp.source_files = 'Sources/SwifterSwift/StoreKit/*.swift'
end
# Dispatch Extensions
s.subspec 'Dispatch' do |sp|
sp.source_files = 'Sources/SwifterSwift/Dispatch/*.swift'
end
# WebKit Extensions
s.subspec 'WebKit' do |sp|
sp.source_files = 'Sources/SwifterSwift/WebKit/*.swift'
end
# HealthKit Extensions
s.subspec 'HealthKit' do |sp|
sp.source_files = 'Sources/SwifterSwift/HealthKit/*.swift'
end
# Combine Extensions
s.subspec 'Combine' do |sp|
sp.source_files = 'Sources/SwifterSwift/Combine/*.swift'
end
end