forked from zymxxxs/YMHTTP
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathYMHTTP.podspec
More file actions
49 lines (39 loc) · 1.6 KB
/
YMHTTP.podspec
File metadata and controls
49 lines (39 loc) · 1.6 KB
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
#
# 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 = 'A short description of YMHTTP.'
# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it short, snappy and to the point.
# * Write the description between the DESC delimiters below.
# * Finally, don't worry about the indent, CocoaPods strips it!
s.description = <<-DESC
TODO: Add long description of the pod here.
DESC
s.homepage = 'https://github.com/zymxxxs/YMHTTP'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'zymxxxs' => 'zymxxxs@gmail.com' }
s.source = { :git => 'https://github.com/zymxxxs/YMHTTP.git', :tag => s.version.to_s }
s.ios.deployment_target = '10.0'
s.source_files = 'YMHTTP/Classes/*.{h,m}'
s.subspec 'Core' do |ss|
ss.source_files = 'YMHTTP/Classes/core/**/*.{h,m}'
ss.dependency 'YMHTTP/Curl'
end
s.subspec 'Curl' do |ss|
ss.source_files = 'YMHTTP/Classes/curl/**/*.{h,m}'
ss.dependency 'YMHTTP/libcurl'
end
s.subspec 'libcurl' do |ss|
ss.source_files = 'YMHTTP/Classes/libcurl/**/*.h'
ss.vendored_libraries = 'YMHTTP/Classes/libcurl/libcurl.a'
ss.ios.library = 'z'
end
end