-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathEvoker.podspec
72 lines (55 loc) · 2 KB
/
Evoker.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
67
68
69
70
71
72
require "json"
package = JSON.parse(File.read(File.join(__dir__, "packages/evoker/package.json")))
version = package['version']
Pod::Spec.new do |s|
s.name = 'Evoker'
s.version = version
s.summary = 'Evoker'
s.homepage = 'https://evokerdev.com'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.authors = 'yizhi996'
s.source = {
:git => 'https://github.com/yizhi996/evoker.git',
:tag => s.version.to_s
}
s.swift_version = '5.3'
s.platform = :ios
s.ios.deployment_target = '11.0'
s.static_framework = true
s.framework = 'Foundation'
s.ios.framework = 'UIKit'
s.cocoapods_version = '>= 1.4.0'
s.prefix_header_file = false
s.default_subspecs = "Core", "Resources"
s.subspec 'Core' do |ss|
ss.source_files = ['iOS/Evoker/Sources/**/*.swift']
ss.dependency 'Alamofire', '~> 5.4'
ss.dependency 'SDWebImage', '~> 5.0'
ss.dependency 'SDWebImageWebPCoder'
ss.dependency 'JXPhotoBrowser', '~> 3.0'
ss.dependency 'PureLayout'
ss.dependency 'MJRefresh'
ss.dependency 'CryptoSwift', '~> 1.4.1'
ss.dependency 'Zip', '~> 2.1'
ss.dependency 'ZLPhotoBrowser'
ss.dependency 'KTVHTTPCache', '~> 2.0.0'
ss.dependency 'SQLite.swift', '~> 0.13.2'
ss.dependency 'SwiftyRSA'
ss.dependency 'SocketRocket'
end
s.subspec 'Resources' do |ss|
ss.resource_bundles = {'Evoker' => [
'iOS/Evoker/Sources/Resources/Image.xcassets',
'iOS/Evoker/Sources/Resources/Sound/**/*',
'iOS/Evoker/Sources/Resources/SDK/**/*']
}
end
s.subspec 'Map' do |ss|
ss.source_files = ['iOS/EvokerMap/Sources/**/*.swift']
ss.dependency 'Evoker/Core', version
ss.dependency 'PureLayout'
ss.dependency 'AMap3DMap'
ss.dependency 'AMapSearch'
ss.dependency 'AMapLocation'
end
end