forked from leancloud/swift-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLeanCloud.podspec
More file actions
38 lines (31 loc) · 1.26 KB
/
LeanCloud.podspec
File metadata and controls
38 lines (31 loc) · 1.26 KB
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
Pod::Spec.new do |s|
s.name = 'LeanCloud'
s.version = '14.0.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 = '4.2'
s.ios.deployment_target = '10.0'
s.osx.deployment_target = '10.12'
s.tvos.deployment_target = '10.0'
s.watchos.deployment_target = '3.0'
s.subspec 'Foundation' do |ss|
ss.source_files = 'Sources/Foundation/**/*.{h,m,swift}'
ss.private_header_files = 'Sources/Foundation/Polyfill/Polyfill.h'
ss.pod_target_xcconfig = { 'SWIFT_INCLUDE_PATHS' => '"$(PODS_TARGET_SRCROOT)"/**' }
ss.preserve_paths = 'Sources/Foundation/**/*.{modulemap}'
end
s.subspec 'LocalStorage' do |ss|
ss.dependency 'LeanCloud/Foundation'
ss.source_files = 'Sources/LocalStorage/**/*.swift'
end
s.subspec 'Storage' do |ss|
ss.dependency 'Alamofire', '~> 4.7.3'
ss.dependency 'LeanCloud/Foundation'
ss.dependency 'LeanCloud/LocalStorage'
ss.source_files = 'Sources/Storage/**/*.swift'
ss.resources = 'Sources/Storage/**/*.{xcdatamodeld}'
end
end