-
Notifications
You must be signed in to change notification settings - Fork 0
/
DJComponentHotfix.podspec
executable file
·38 lines (35 loc) · 1.41 KB
/
DJComponentHotfix.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
Pod::Spec.new do |s|
s.name = "DJComponentHotfix"
s.version = "0.2.0"
s.summary = "A short description of DJHotfixManager."
s.description = <<-DESC
only for private use
DESC
s.homepage = "http://douzhongxu.com"
s.license = "MIT (Dokay)"
s.author = { "Doaky" => "[email protected]" }
s.platform = :ios, "7.0"
s.ios.deployment_target = "7.0"
s.source = { :git => "https://github.com/Dokay/DJHotfixManager.git", :tag => s.version.to_s }
s.subspec 'RSA' do |rsa|
rsa.source_files = 'DJComponentHotfix/DJHotfixManager/RSA/*.{h,m}'
#rsa.public_header_files = 'DJComponentHotfix/DJHotfixManager/RSA/*.{h}'
rsa.requires_arc = true
rsa.frameworks = 'Security'
end
s.subspec 'AES' do |aes|
aes.source_files = 'DJComponentHotfix/DJHotfixManager/AESCrypt/*.{h,m}'
aes.requires_arc = true
#aes.frameworks = 'CommonCrypto'
aes.osx.frameworks = "CommonCrypto"
end
s.subspec 'Core' do |core|
core.source_files = 'DJComponentHotfix/DJHotfixManager/Core/*.{h,m}'
core.exclude_files = 'DJComponentHotfix/DJHotfixManager/Core/AppDelegate+DJLaunchProtect.h','DJComponentHotfix/DJHotfixManager/Core/AppDelegate+DJLaunchProtect.m'
core.requires_arc = true
core.dependency 'JSPatch'
core.dependency 'DJComponentHotfix/RSA'
core.dependency 'DJComponentHotfix/AES'
core.dependency 'SSZipArchive'
end
end