-
Notifications
You must be signed in to change notification settings - Fork 0
/
XZNavigationController.podspec
68 lines (51 loc) · 2.45 KB
/
XZNavigationController.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
63
64
65
66
67
#
# Be sure to run `pod lib lint XZNavigationController.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 = 'XZNavigationController'
s.version = '1.3.2'
s.summary = '一个支持全屏手势导航、自定义导航栏的组件'
# 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
本组件拓展了原生 UINavigationController 的功能,使其支持自定义导航条、全屏手势导航,使用简单、接入成本为零。
DESC
s.homepage = 'https://github.com/Xezun/XZNavigationController'
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Xezun' => '[email protected]' }
s.source = { :git => 'https://github.com/Xezun/XZNavigationController.git', :tag => s.version.to_s }
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
s.ios.deployment_target = '11.0'
s.pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => 'XZ_FRAMEWORK=1' }
s.swift_version = "5.0"
s.default_subspec = 'Code'
s.subspec 'Code' do |ss|
ss.source_files = 'XZNavigationController/Code/**/*.{h,m,swift}'
ss.public_header_files = 'XZNavigationController/Code/**/*.h'
ss.dependency 'XZDefines/XZRuntime', '>= 1.2.0'
end
# s.resource_bundles = {
# 'XZNavigationController' => ['XZNavigationController/Assets/*.png']
# }
# s.public_header_files = 'Pod/Classes/**/*.h'
# s.frameworks = 'UIKit', 'MapKit'
# s.dependency 'AFNetworking', '~> 2.3'
# def s.defineSubspec(name, dependencies)
# self.subspec name do |ss|
# ss.public_header_files = "XZNavigationController/Code/#{name}/**/*.h";
# ss.source_files = "XZNavigationController/Code/#{name}/**/*.{h,m}";
# for dependency in dependencies
# ss.dependency dependency;
# end
# end
# end
# s.defineSubspec 'CAAnimation', [];
end