-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Expand file tree
/
Copy pathCYLTabBarController.podspec
More file actions
68 lines (56 loc) · 2.79 KB
/
Copy pathCYLTabBarController.podspec
File metadata and controls
68 lines (56 loc) · 2.79 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
Pod::Spec.new do |s|
s.name = "CYLTabBarController"
s.version = "1.99.55"
s.summary = "Highly customizable tabBar and tabBarController for iOS"
s.description = "[EN]It is an iOS UI module library for adding animation to iOS tabbar items and icons with Lottie and Liquid Glass Animation. [CN]【中国特色 TabBar】一行代码实现 Lottie +玻璃效果动画TabBar,支持中间带+号的TabBar样式,自带红点角标,支持动态刷新。【iOS26 & iPhone 17 supported】"
s.homepage = "https://github.com/ChenYilong/CYLTabBarController"
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { "ChenYilong" => "luohanchenyilong@163.com" }
s.social_media_url = 'http://weibo.com/luohanchenyilong/'
s.platform = :ios, '12.0'
s.swift_versions = ['5.0']
s.source = { :git => "https://github.com/ChenYilong/CYLTabBarController.git", :tag => s.version.to_s }
s.requires_arc = true
s.default_subspec = 'Core'
s.static_framework = true
s.subspec 'Core' do |core|
core.source_files = 'CYLTabBarController', 'CYLTabBarController/**/*.{h,m}'
core.exclude_files = [
'CYLTabBarController/**/LottieSwift/*.{h,m,Swift}',
'CYLTabBarController/**/CYLFlatDesignTabBar/CYLFlatDesignTabBar-ObjectiveC/**/*.{swift}',
'CYLTabBarController/**/CYLFlatDesignTabBar/CYLFlatDesignTabBar-ObjectiveC/**/*.{h,m}',
'CYLTabBarController/**/CYLFlatDesignTabBar/CYLFlatDesignTabBar-Swift/**/*.{h,m,swift}'
]
core.public_header_files = 'CYLTabBarController/**/*.h'
end
s.subspec 'Lottie' do |lottie|
#指定2.5.3,使用 oc 版本 lottie
lottie.dependency "CYLTabBarController/LottieObjectiveC"
end
s.subspec 'LottieObjectiveC' do |lottieobjc|
lottieobjc.dependency 'CYLTabBarController/Core'
#指定2.5.3,使用 oc 版本 lottie
lottieobjc.dependency "lottie-ios", '~> 2.5.3'
end
s.subspec "LottieSwift" do |lottieswift|
lottieswift.source_files = 'CYLTabBarController/**/LottieSwift/*.{h,m,Swift}'
#使用 swift 版本 lottie
lottieswift.dependency 'lottie-ios', '>= 4.0.0'
lottieswift.dependency 'CYLTabBarController/Core'
end
s.subspec 'CYLFlatDesignTabBar' do |flatdesign|
flatdesign.dependency "CYLTabBarController/CYLFlatDesignTabBar-ObjectiveC"
end
s.subspec 'CYLFlatDesignTabBar-ObjectiveC' do |flatdesign|
flatdesign.dependency "CYLTabBarController/LottieSwift"
flatdesign.source_files = 'CYLTabBarController/**/CYLFlatDesignTabBar/CYLFlatDesignTabBar-ObjectiveC/**/*.{h,m,swift}'
# flatdesign.resource = 'CYLTabBarController/**/CYLFlatDesignUITabBarController.bundle'
end
s.pod_target_xcconfig = {
'DEFINES_MODULE' => 'YES',
'WARNING_CFLAGS' => [
'-Werror=undeclared-selector',
'-Werror=incomplete-implementation'
]
}
end