-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathKLeaksFinder.podspec
66 lines (56 loc) · 2.92 KB
/
KLeaksFinder.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
#
# Be sure to run `pod lib lint KLeaksFinder.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 https://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'KLeaksFinder'
s.version = '0.1.5'
s.summary = 'MLeaksFinder 的内存泄漏检测'
# 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
内存泄漏检测.
DESC
s.homepage = 'https://github.com/fndppx/KLeaksFinder'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'keyan' => '[email protected]' }
s.source = { :git => 'https://github.com/fndppx/KLeaksFinder.git', :tag => s.version.to_s }
s.ios.deployment_target = '10.0'
s.source_files = 'KLeaksFinder', "{KLeaksFinder,rcd_fishhook}/**/*.{h,m,mm,c}"
mrr_files = [
'KLeaksFinder/FBRetainCycleDetector/Associations/FBAssociationManager.h',
'KLeaksFinder/FBRetainCycleDetector/Associations/FBAssociationManager.mm',
'KLeaksFinder/FBRetainCycleDetector/Layout/Blocks/FBBlockStrongLayout.h',
'KLeaksFinder/FBRetainCycleDetector/Layout/Blocks/FBBlockStrongLayout.m',
'KLeaksFinder/FBRetainCycleDetector/Layout/Blocks/FBBlockStrongRelationDetector.h',
'KLeaksFinder/FBRetainCycleDetector/Layout/Blocks/FBBlockStrongRelationDetector.m',
'KLeaksFinder/FBRetainCycleDetector/Layout/Classes/FBClassStrongLayoutHelpers.h',
'KLeaksFinder/FBRetainCycleDetector/Layout/Classes/FBClassStrongLayoutHelpers.m',
]
files = Pathname.glob("KLeaksFinder/**/*.{h,m,mm}")
files = files.map {|file| file.to_path}
files = files.reject {|file| mrr_files.include?(file)}
s.requires_arc = files.sort + [
'rcd_fishhook/**/*.{c,h}'
]
s.public_header_files = [
'KLeaksFinder/FBRetainCycleDetector/Detector/FBRetainCycleDetector.h',
'KLeaksFinder/FBRetainCycleDetector/Associations/FBAssociationManager.h',
'KLeaksFinder/FBRetainCycleDetector/Graph/FBObjectiveCBlock.h',
'KLeaksFinder/FBRetainCycleDetector/Graph/FBObjectiveCGraphElement.h',
'KLeaksFinder/FBRetainCycleDetector/Graph/Specialization/FBObjectiveCNSCFTimer.h',
'KLeaksFinder/FBRetainCycleDetector/Graph/FBObjectiveCObject.h',
'KLeaksFinder/FBRetainCycleDetector/Graph/FBObjectGraphConfiguration.h',
'KLeaksFinder/FBRetainCycleDetector/Filtering/FBStandardGraphEdgeFilters.h',
'KLeaksFinder/MLeaksFinder/MLeaksFinder.h',
'KLeaksFinder/MLeaksFinder/NSObject+MemoryLeak.h'
]
s.framework = "Foundation", "CoreGraphics", "UIKit"
s.library = 'c++'
end