-
Notifications
You must be signed in to change notification settings - Fork 29
/
LeanCloud.podspec
40 lines (30 loc) · 1.14 KB
/
LeanCloud.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
Pod::Spec.new do |s|
s.name = 'LeanCloud'
s.version = '17.11.0'
s.license = { :type => 'Apache License, Version 2.0', :file => 'LICENSE' }
s.summary = 'LeanCloud Swift SDK'
s.homepage = 'https://leancloud.cn/'
s.authors = 'LeanCloud'
s.source = { :git => 'https://github.com/leancloud/swift-sdk.git', :tag => s.version }
s.swift_version = '5.0'
s.default_subspec = 'RTM'
s.ios.deployment_target = '11.0'
s.osx.deployment_target = '10.13'
s.tvos.deployment_target = '11.0'
s.watchos.deployment_target = '4.0'
s.subspec 'Foundation' do |ss|
ss.dependency 'Alamofire', '~> 5.7'
ss.source_files = 'Sources/Foundation/**/*.{swift}'
end
s.subspec 'RTM' do |ss|
ss.dependency 'SwiftProtobuf', '~> 1.22'
ss.dependency 'GRDB.swift', '~> 6.15.0'
ss.dependency 'LeanCloud/Foundation', "#{s.version}"
ss.source_files = 'Sources/RTM/**/*.{swift}'
end
s.subspec 'RTM-no-local-storage' do |ss|
ss.dependency 'SwiftProtobuf', '~> 1.22'
ss.dependency 'LeanCloud/Foundation', "#{s.version}"
ss.source_files = 'Sources/RTM/**/*.{swift}'
end
end