/
SwiftUIPullToRefresh.podspec
47 lines (37 loc) · 1.78 KB
/
SwiftUIPullToRefresh.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
#
# Be sure to run `pod lib lint SwiftUIPullToRefresh.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 = 'SwiftUIPullToRefresh'
s.version = '0.12.0'
s.summary = 'Customizable SwiftUI pull down/up to refresh'
# 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
support pull down to refresh and pull up to refresh
DESC
s.homepage = 'https://github.com/haifengkao/SwiftUI-Pull-To-Refresh'
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Hai Feng Kao' => 'haifeng@cocoaspice.in' }
s.source = { :git => 'git@github.com:haifengkao/SwiftUI-Pull-To-Refresh.git', :tag => s.version.to_s }
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
# we need ios 11.0 to fix xcodebuild error
# https://blog.csdn.net/qq_27785797/article/details/109058663
s.ios.deployment_target = '14.0'
s.swift_version = '5'
s.source_files = 'Sources/SwiftUIPullToRefresh/**/*.swift'
s.resource_bundles = {
'SwiftUIPullToRefresh' => ['Sources/SwiftUIPullToRefresh/Assets/*']
}
# s.public_header_files = 'Pod/Classes/**/*.h'
# s.frameworks = 'UIKit', 'MapKit'
s.dependency 'Introspect'
end