-
Notifications
You must be signed in to change notification settings - Fork 59
/
InstantSearch.podspec
66 lines (57 loc) · 2.48 KB
/
InstantSearch.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
Pod::Spec.new do |s|
s.name = 'InstantSearch'
s.version = '7.26.3'
s.platforms = { :ios => "14.0", :osx => "11.0", :watchos => "7.0", :tvos => "14.0" }
s.license = { type: 'Apache 2.0', file: 'LICENSE.md' }
s.summary = 'A library of widgets and helpers to build instant-search applications on iOS.'
s.homepage = 'https://github.com/algolia/instantsearch-ios'
s.author = { "Algolia" => "[email protected]" }
s.source = { :git => 'https://github.com/algolia/instantsearch-ios.git', :tag => s.version }
s.swift_version = "5.8"
s.default_subspec = 'UI'
s.resource_bundles = { 'InstantSearch' => ['Sources/PrivacyInfo.xcprivacy'] }
s.subspec "Insights" do |ss|
ss.source_files = 'Sources/InstantSearchInsights/**/*.{swift}'
ss.dependency 'AlgoliaSearchClient', '~> 8.18'
ss.dependency 'Logging'
ss.ios.deployment_target = '14.0'
ss.osx.deployment_target = '11.0'
ss.watchos.deployment_target = '7.0'
ss.tvos.deployment_target = '14.0'
end
s.subspec "Core" do |ss|
ss.source_files = 'Sources/InstantSearchCore/**/*.{swift}'
ss.dependency 'AlgoliaSearchClient', '~> 8.18'
ss.dependency 'Logging'
ss.dependency 'InstantSearch/Insights'
ss.dependency 'SwiftProtobuf', '1.22.0'
ss.dependency 'InstantSearchTelemetry', '~> 0.1.3'
ss.ios.deployment_target = '14.0'
ss.osx.deployment_target = '11.0'
ss.watchos.deployment_target = '7.0'
ss.tvos.deployment_target = '14.0'
ss.pod_target_xcconfig = { 'OTHER_SWIFT_FLAGS' => '-DInstantSearchCocoaPods' }
end
s.subspec "UI" do |ss|
ss.source_files = 'Sources/InstantSearch/**/*.{swift}'
ss.dependency 'InstantSearch/Core'
ss.dependency 'Logging'
ss.ios.deployment_target = '14.0'
ss.osx.deployment_target = '11.0'
ss.watchos.deployment_target = '7.0'
ss.tvos.deployment_target = '14.0'
ss.pod_target_xcconfig = { 'OTHER_SWIFT_FLAGS' => '-DInstantSearchCocoaPods' }
end
s.subspec "SwiftUI" do |ss|
ss.source_files = 'Sources/InstantSearchSwiftUI/**/*.{swift}'
ss.dependency 'InstantSearch/Core'
ss.dependency 'Logging'
ss.dependency 'InstantSearchTelemetry', '~> 0.1.3'
ss.ios.deployment_target = '14.0'
ss.osx.deployment_target = '11.0'
ss.watchos.deployment_target = '7.0'
ss.tvos.deployment_target = '14.0'
ss.pod_target_xcconfig = { 'OTHER_SWIFT_FLAGS' => '-DInstantSearchCocoaPods' }
ss.weak_frameworks = 'SwiftUI', 'Combine'
end
end