-
Notifications
You must be signed in to change notification settings - Fork 6
/
NNPopObjc.podspec
52 lines (38 loc) · 1.89 KB
/
NNPopObjc.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
Pod::Spec.new do |s|
s.name = "NNPopObjc"
s.version = ENV['BUMP_VERSION'] || '0.0.1'
s.summary = "Implement protocol extensions for protocol-oriented programming."
s.description = <<-DESC
Inspired by swift's protocol-oriented programming。
Based on runtime, the framework implements protocol extensions for protocol-oriented programming.
DESC
s.homepage = "https://github.com/amisare/NNPopObjc"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "Haijun Gu" => "243297288@qq.com" }
s.social_media_url = "https://www.jianshu.com/u/9df9f28ff266"
s.source = { :git => "https://github.com/amisare/NNPopObjc.git", :tag => s.version.to_s }
s.requires_arc = true
s.libraries = 'c++'
s.user_target_xcconfig = {'OTHER_LDFLAGS' => '-all_load'}
s.osx.deployment_target = '10.7'
s.ios.deployment_target = '6.0'
s.tvos.deployment_target = '9.0'
s.watchos.deployment_target = '2.0'
s.osx.pod_target_xcconfig = { 'PRODUCT_BUNDLE_IDENTIFIER' => 'com.nn.NNPopObjc' }
s.ios.pod_target_xcconfig = { 'PRODUCT_BUNDLE_IDENTIFIER' => 'com.nn.NNPopObjc' }
s.tvos.pod_target_xcconfig = { 'PRODUCT_BUNDLE_IDENTIFIER' => 'com.nn.NNPopObjc' }
s.watchos.pod_target_xcconfig = { 'PRODUCT_BUNDLE_IDENTIFIER' => 'com.nn.NNPopObjc-watchOS' }
s.source_files = 'NNPopObjc/*.{h,m,mm}'
s.subspec 'extobjc' do |ss|
ss.source_files = 'NNPopObjc/extobjc/*.{h,m}'
end
s.subspec 'Public' do |ss|
ss.source_files = 'NNPopObjc/Public/*.{h,m,mm}'
end
s.subspec 'Source' do |ss|
ss.source_files = 'NNPopObjc/Source/*.{h,m,mm}'
ss.private_header_files = 'NNPopObjc/Source/*.{h}'
ss.dependency 'NNPopObjc/extobjc'
ss.dependency 'NNPopObjc/Public'
end
end