-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathOrchard.podspec
56 lines (39 loc) · 1.82 KB
/
Orchard.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
Pod::Spec.new do |spec|
spec.name = "Orchard"
spec.version = "1.15.0"
spec.summary = "Device identification for iOS, watchOS, and tvOS."
spec.description = <<-DESC
Orchard is a library to identify the device your code is running on. For iOS,
watchOS, and tvOS, you use Orchard to identify the exact model of device and
make decisions based on that.
DESC
spec.homepage = "http://github.com/Detroit-Labs/Orchard"
spec.license = "MIT"
spec.author = { "Jeff Kelley" => "[email protected]" }
spec.ios.deployment_target = "12.0"
spec.watchos.deployment_target = "4.0"
spec.tvos.deployment_target = "12.0"
spec.source = { :git => "https://github.com/Detroit-Labs/Orchard.git",
:tag => "#{spec.version}" }
spec.ios.frameworks = 'Foundation', 'UIKit'
spec.watchos.frameworks = 'Foundation', 'WatchKit'
spec.tvos.frameworks = 'Foundation', 'UIKit'
spec.swift_versions = ['4.0', '4.1', '4.2', '5.0', '5.1', '5.2', '5.3']
spec.subspec 'Swift' do |ss|
ss.source_files = 'Orchard-Swift/*.swift'
ss.ios.source_files = 'Orchard-Swift/iOS/*.swift'
ss.watchos.source_files = 'Orchard-Swift/watchOS/*.swift'
ss.tvos.source_files = 'Orchard-Swift/tvOS/*.swift'
end
spec.subspec 'ObjC' do |ss|
ss.source_files = 'Orchard-ObjC/*.{h,m}', 'Orchard-ObjC/Private/*.{h,m}'
ss.public_header_files = 'Orchard-ObjC/*.h'
ss.ios.source_files = 'Orchard-ObjC/iOS/*.{h,m}'
ss.ios.public_header_files = 'Orchard-ObjC/iOS/*.h'
ss.watchos.source_files = 'Orchard-ObjC/watchOS/*.{h,m}'
ss.watchos.public_header_files = 'Orchard-ObjC/watchOS/*.h'
ss.tvos.source_files = 'Orchard-ObjC/tvOS/*.{h,m}'
ss.tvos.public_header_files = 'Orchard-ObjC/tvOS/*.h'
end
spec.default_subspec = 'Swift'
end