-
-
Notifications
You must be signed in to change notification settings - Fork 130
/
AoE.podspec
75 lines (67 loc) · 2.79 KB
/
AoE.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
73
74
75
#
# Be sure to run `pod lib lint AoE.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'AoE'
s.version = '1.1.3'
s.summary = 'AoE'
# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it short, snappy and to the point.
# * Write the description between the DESC delimiters below.
# * Finally, don't worry about the indent, CocoaPods strips it!
s.description = <<-DESC
AoE is AI on Edage
DESC
s.homepage = 'https://github.com/didi/aoe/'
s.license = { :type => 'Apache', :file => 'LICENSE' }
s.author = { 'dingc' => '[email protected]' }
s.source = { :git => "https://github.com/didi/AoE.git", :tag => s.version.to_s }
s.prefix_header_file = false
s.default_subspec = 'Loader'
s.platform = :ios
s.ios.deployment_target = '8.0'
s.subspec 'Core' do |ss|
ss.source_files = "iOS/#{s.name}/library/Core/Classes/**/*"
ss.public_header_files = "iOS/#{s.name}/library/Core/Classes/**/*.h"
ss.frameworks = 'Foundation','UIKit','AdSupport'
# ss.resource_bundles = {
# 'iOS-Core' => ["iOS/#{s.name}/library/Core/Assets/**/*"]
# }
end
# extension for core
s.subspec 'Loader' do |ss|
ss.ios.deployment_target = '8.0'
ss.source_files = "iOS/#{s.name}/library/Loader/Classes/**/*"
ss.public_header_files = "iOS/#{s.name}/library/Loader/Classes/**/*.h"
ss.frameworks = 'CoreGraphics','CoreVideo'
ss.dependency "#{s.name}/Core"
ss.dependency "#{s.name}/Crypto"
ss.dependency 'JSONModel'
ss.dependency 'SSZipArchive'
# ss.resource_bundles = {
# 'iOS-Loader' => ["iOS/#{s.name}/library/Loader/Assets/**/*"]
# }
end
s.subspec 'Logger' do |ss|
ss.ios.deployment_target = '8.0'
ss.source_files = "iOS/#{s.name}/library/Logger/Classes/**/*"
ss.public_header_files = "iOS/#{s.name}/library/Logger/Classes/**/*.h"
ss.dependency "#{s.name}/Core"
# ss.resource_bundles = {
# 'iOS-Logger' => ["iOS/#{s.name}/library/Logger/Assets/**/*"]
# }
end
s.subspec 'Crypto' do |ss|
ss.ios.deployment_target = '8.0'
ss.source_files = "iOS/#{s.name}/library/Crypto/Classes/**/*","iOS/#{s.name}/library/Crypto/Libraries/include/**/*.h"
ss.public_header_files = "iOS/#{s.name}/library/Crypto/Classes/**/*.h"
ss.dependency "#{s.name}/Core"
ss.preserve_paths = "iOS/#{s.name}/library/Crypto/Libraries/lib/libaoesign.a"
ss.vendored_libraries = "iOS/#{s.name}/library/Crypto/Libraries/lib/libaoesign.a"
end
end