-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChopper.podspec
39 lines (34 loc) · 1.32 KB
/
Chopper.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
#
# Be sure to run `pod lib lint Chopper.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 = 'Chopper'
s.version = '0.1.0'
s.summary = 'Chopper is a light weight hybrid bridge.'
s.description = <<-DESC
Chopper is a light weight hybrid bridge, use it can build a hybrid app simple and quickly.
DESC
s.homepage = 'https://github.com/JianweiWangs/Chopper'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'JianweiWangs' => '[email protected]' }
s.source = { :git => 'https://github.com/JianweiWangs/Chopper.git', :tag => s.version.to_s }
s.platform = :ios, '8.0'
s.swift_version = '4.2'
s.default_subspecs = 'Core'
s.subspec 'Core' do |sub|
sub.source_files = 'Chopper/Classes/Core/**/*.swift'
end
s.subspec 'Interceptor' do |sub|
sub.source_files = 'Chopper/Classes/Interceptor/**/*.swift'
sub.platform = :ios, '11.0'
sub.dependency 'Chopper/Broswer'
end
s.subspec 'Broswer' do |sub|
sub.source_files = 'Chopper/Classes/Broswer/**/*.swift'
sub.dependency 'Chopper/Core'
end
end