-
Notifications
You must be signed in to change notification settings - Fork 122
/
XXShield.podspec
44 lines (43 loc) · 1.54 KB
/
XXShield.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
Pod::Spec.new do |s|
s.name = 'XXShield'
s.version = '2.3.1'
s.summary = 'Avoid Crash'
s.description = <<-DESC
1. unrecoginzed Selector Crash
2. KVO Crash
3. Container Crash
4. NSNotification Crash
5. NSNull Crash
6. NSTimer Crash
7. 野指针 Crash
DESC
s.homepage = 'https://github.com/ValiantCat/XXShield'
s.license = { :type => 'Apache', :file => 'LICENSE' }
s.author = { 'ValiantCat' => '519224747@qq.com' }
s.source = { :git => 'https://github.com/ValiantCat/XXShield.git', :tag => s.version.to_s }
s.platform = :ios, '9.0'
s.ios.deployment_target = '9.0'
s.module_map = 'XXShield/XXShield.modulemap'
s.public_header_files = 'XXShield/Classes/*.h'
s.private_header_files = 'XXShield/Classes/template/*.h'
s.source_files = "XXShield/Classes/*/*.{h,m,mm}", "XXShield/Classes/*.{h,m,mm}"
s.requires_arc =
['XXShield/Classes/*.m',
'XXShield/Classes/FoundationContainer/*.m',
'XXShield/Classes/KVO/*.m',
'XXShield/Classes/NSTimer/*.m',
'XXShield/Classes/Notification/*.m',
'XXShield/Classes/NSNull/*.m',
'XXShield/Classes/Record/*.m',
'XXShield/Classes/SmartKit/*.m',
'XXShield/Classes/Swizzle/*.m',
'XXShield/Classes/DanglingPointerShield/ForwordingCenterForDanglingPoint.m',
'XXShield/Classes/DanglingPointerShield/XXDanglingPonterClassService.m'
]
s.libraries = 'c++'
s.pod_target_xcconfig = {
'CLANG_WARN_STRICT_PROTOTYPES' => 'NO',
'DEFINES_MODULE' => 'YES'
# 'SWIFT_VERSION' => ''
}
end