forked from algolia/algoliasearch-client-swift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
AlgoliaSearch-Offline-Swift.podspec
27 lines (24 loc) · 1.04 KB
/
AlgoliaSearch-Offline-Swift.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
Pod::Spec.new do |s|
s.name = 'AlgoliaSearch-Offline-Swift'
s.module_name = 'AlgoliaSearch'
s.version = '4.8.1'
s.license = 'MIT'
s.summary = 'Algolia Search API Client for iOS & OS X written in Swift.'
s.homepage = 'https://github.com/algolia/algoliasearch-client-swift'
s.documentation_url = 'https://community.algolia.com/algoliasearch-client-swift/offline/'
s.author = { 'Algolia' => 'contact@algolia.com' }
s.source = { :git => 'https://github.com/algolia/algoliasearch-client-swift.git', :tag => s.version }
s.ios.deployment_target = '8.0'
s.dependency 'AlgoliaSearchOfflineCore-iOS', '~> 1.2.0'
# Activate Core-dependent code.
# WARNING: Specifying the preprocessor macro is not enough; it must be added to Swift flags as well.
s.pod_target_xcconfig = {
'GCC_PREPROCESSOR_DEFINITIONS' => 'ALGOLIA_SDK=1',
'OTHER_SWIFT_FLAGS' => '-DALGOLIA_SDK'
}
s.source_files = [
'Source/*.swift',
'Source/Helpers/*.swift',
'Source/Offline/*.swift'
]
end