forked from boai/BAAlertController-Swift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BAAlertController-Swift.podspec
62 lines (46 loc) · 2.18 KB
/
BAAlertController-Swift.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
53
54
55
56
57
58
59
60
61
62
#
# Be sure to run `pod lib lint BAAlertController-Swift.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 = 'BAAlertController-Swift'
s.version = '1.0.2'
s.summary = 'swift 版本 UIAlertController 的分类,一个 block 搞定系统 alert 和 actionSheet 的 iPhone 和 iPad 版本适配!'
s.description = <<-DESC
this is BAAlertController-Swift
DESC
s.homepage = 'https://github.com/BAHome/BAAlertController-Swift'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'boai' => '[email protected]' }
s.source = { :git => 'https://github.com/BAHome/BAAlertController-Swift.git', :tag => s.version.to_s }
s.ios.deployment_target = '9.0'
s.requires_arc = true
#s.source_files = 'BAAlertController-Swift/Classes/**/*.swift'
#s.public_header_files = "BAAlertController-Swift/Classes/**/*.swift"
s.resource_bundles = {
'BAAlertController-Swift' => ['BAAlertController-Swift/Resources/Assets.xcassets',
'BAAlertController-Swift/Resources/**/*.{xib,nib,json,plist}']
}
s.public_header_files = 'Pod/Classes/**/*.swift'
s.frameworks = 'UIKit', 'Foundation'
# s.dependency 'AFNetworking', '~> 2.3'
#s.dependency "BAButton"
# s.xcconfig = { "GCC_PREPROCESSOR_DEFINITIONS" => '$(inherited) ***' }
# Tools
s.subspec 'BAAlertController-Swift' do |sBAAlertController|
# sBAAlertController.dependency "BAButton"
sBAAlertController.source_files = "BAAlertController-Swift/Classes/**/*.{h,m,swift}"
#stool.ios.vendored_frameworks = "iflyMSC.framework"
sBAAlertController.frameworks = 'UIKit', 'Foundation'
end
# Tools
# s.subspec 'Tools' do |stool|
# stool.dependency "BATextField"
# stool.source_files = "BAAlertController-Swift/Tools/**/*.{h,m,swift}"
#stool.ios.vendored_frameworks = "iflyMSC.framework"
#stool.libraries = "z", "c++", "icucore"
# end
end