-
Notifications
You must be signed in to change notification settings - Fork 32
/
YMHTTP.podspec
31 lines (26 loc) · 1.07 KB
/
YMHTTP.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
#
# Be sure to run `pod lib lint YMHTTP.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 = 'YMHTTP'
s.version = '1.0.0'
s.summary = '一个基于 libcurl 的 IO 多路复用 HTTP 框架'
s.homepage = 'https://github.com/zymxxxs/YMHTTP'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'zymxxxs' => '[email protected]' }
s.source = { :git => 'https://github.com/zymxxxs/YMHTTP.git', :tag => s.version.to_s }
s.ios.deployment_target = '10.0'
s.source_files = 'YMHTTP/**/*.{h,m}'
s.public_header_files = 'YMHTTP/*.h'
s.exclude_files = 'YMHTTP/libcurl/**/*.h'
s.subspec 'libcurl' do |ss|
ss.source_files = 'YMHTTP/libcurl/**/*.h'
ss.private_header_files = 'YMHTTP/libcurl/**/*.h'
ss.vendored_libraries = 'YMHTTP/libcurl/libcurl.a'
ss.ios.library = 'z'
end
end