-
Notifications
You must be signed in to change notification settings - Fork 591
/
Copy pathFBRetainCycleDetector.podspec
46 lines (42 loc) · 1.96 KB
/
FBRetainCycleDetector.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
Pod::Spec.new do |s|
s.name = "FBRetainCycleDetector"
s.version = "0.1.4"
s.summary = "Library that helps with detecting retain cycles in iOS apps"
s.homepage = "/~https://github.com/facebook/FBRetainCycleDetector"
s.license = "BSD"
s.author = { "Grzegorz Pstrucha" => "gricha@fb.com" }
s.platform = :ios, "7.0"
s.source = {
:git => "/~https://github.com/facebook/FBRetainCycleDetector.git",
:tag => "0.1.4"
}
s.source_files = "FBRetainCycleDetector", "{FBRetainCycleDetector,rcd_fishhook}/**/*.{h,m,mm,c}"
mrr_files = [
'FBRetainCycleDetector/Associations/FBAssociationManager.h',
'FBRetainCycleDetector/Associations/FBAssociationManager.mm',
'FBRetainCycleDetector/Layout/Blocks/FBBlockStrongLayout.h',
'FBRetainCycleDetector/Layout/Blocks/FBBlockStrongLayout.m',
'FBRetainCycleDetector/Layout/Blocks/FBBlockStrongRelationDetector.h',
'FBRetainCycleDetector/Layout/Blocks/FBBlockStrongRelationDetector.m',
'FBRetainCycleDetector/Layout/Classes/FBClassStrongLayoutHelpers.h',
'FBRetainCycleDetector/Layout/Classes/FBClassStrongLayoutHelpers.m',
]
files = Pathname.glob("FBRetainCycleDetector/**/*.{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 = [
'FBRetainCycleDetector/Detector/FBRetainCycleDetector.h',
'FBRetainCycleDetector/Associations/FBAssociationManager.h',
'FBRetainCycleDetector/Graph/FBObjectiveCBlock.h',
'FBRetainCycleDetector/Graph/FBObjectiveCGraphElement.h',
'FBRetainCycleDetector/Graph/Specialization/FBObjectiveCNSCFTimer.h',
'FBRetainCycleDetector/Graph/FBObjectiveCObject.h',
'FBRetainCycleDetector/Graph/FBObjectGraphConfiguration.h',
'FBRetainCycleDetector/Filtering/FBStandardGraphEdgeFilters.h',
]
s.framework = "Foundation", "CoreGraphics", "UIKit"
s.library = 'c++'
end