-
Notifications
You must be signed in to change notification settings - Fork 0
/
MethodNotificationCenter.podspec
36 lines (29 loc) · 1.48 KB
/
MethodNotificationCenter.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
Pod::Spec.new do |s|
s.name = "MethodNotificationCenter"
s.version = "0.1.2"
s.summary = "Simple Objective-C Runtime Injection"
s.description = <<-DESC
A lightweight framework enabling easy snooping on Objective-C methods for iOS, macOS, and tvOS.
DESC
s.homepage = "https://github.com/SomeRandomiOSDev/MethodNotificationCenter"
s.license = "MIT"
s.author = { "Joe Newton" => "somerandomiosdev@gmail.com" }
s.source = { :git => "https://github.com/SomeRandomiOSDev/MethodNotificationCenter.git", :tag => s.version.to_s }
s.ios.deployment_target = '9.0'
s.macos.deployment_target = '10.10'
s.tvos.deployment_target = '9.0'
s.watchos.deployment_target = '2.0'
s.source_files = 'Sources/MethodNotificationCenter/**/*.{h,m,s}'
s.module_map = 'Sources/MethodNotificationCenter/module/module.modulemap'
s.swift_versions = ['4.0', '4.2', '5.0']
s.cocoapods_version = '>= 1.7.3'
s.test_spec 'Tests' do |ts|
ts.ios.deployment_target = '9.0'
ts.macos.deployment_target = '10.10'
ts.tvos.deployment_target = '9.0'
ts.watchos.deployment_target = '2.0'
ts.pod_target_xcconfig = { 'SWIFT_INCLUDE_PATHS' => '$PODS_TARGET_SRCROOT/Sources/MethodNotificationCenter/include',
'HEADER_SEARCH_PATHS' => '$PODS_TARGET_SRCROOT/Sources/MethodNotificationCenter/include' }
ts.source_files = 'Tests/**/*.{m,swift}'
end
end