forked from yulingtianxia/BlockHook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBlockHook.podspec
31 lines (25 loc) · 1.22 KB
/
BlockHook.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
Pod::Spec.new do |s|
s.name = "BlockHook"
s.version = "1.5.12"
s.summary = "Hook Objective-C blocks."
s.description = <<-DESC
Hook Objective-C blocks with libffi. It's a powerful AOP tool for blocks. BlockHook can run your code before/instead/after invoking a block. BlockHook can even notify you when a block dealloc. You can trace the whole lifecycle of a block using BlockHook!
DESC
s.homepage = "https://github.com/yulingtianxia/BlockHook"
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { "yulingtianxia" => "[email protected]" }
s.social_media_url = 'https://twitter.com/yulingtianxia'
s.source = { :git => "https://github.com/yulingtianxia/BlockHook.git", :tag => s.version.to_s }
s.source_files = "BlockHook/*.{h,m}", "libffi/*.h"
s.public_header_files = "BlockHook/BlockHook.h", "BlockHook/BHToken.h", "BlockHook/BHInvocation.h"
s.static_framework = true
s.ios.deployment_target = "8.0"
s.osx.deployment_target = "10.10"
s.tvos.deployment_target = "9.0"
#s.watchos.deployment_target = "1.0"
s.requires_arc = true
s.ios.vendored_libraries = "libffi/*.a"
s.osx.vendored_libraries = "libffi/*.a"
s.tvos.vendored_libraries = "libffi/*.a"
#s.watchos.vendored_libraries = "libffi/*.a"
end