-
Notifications
You must be signed in to change notification settings - Fork 0
/
EFStorage.podspec
64 lines (53 loc) · 2.2 KB
/
EFStorage.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
#
# Be sure to run `pod lib lint EFStorage.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 = 'EFStorage'
s.version = '0.4.1'
s.summary = 'A Swifty storage solution.'
# 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
EFStorage is an easy way to store anything anywhere.
DESC
s.homepage = 'https://github.com/EFPrefix/EFStorage'
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.authors = { 'ApolloZhu' => '[email protected]',
'EyreFree' => '[email protected]' }
s.source = { :git => 'https://github.com/EFPrefix/EFStorage.git', :tag => s.version.to_s }
s.social_media_url = 'https://twitter.com/zhuzhiyu_'
s.ios.deployment_target = "11.0"
s.osx.deployment_target = "10.13"
s.watchos.deployment_target = "6.0"
s.tvos.deployment_target = "11.0"
s.swift_version = "5.1"
s.source_files = 'Sources/**/*.swift'
s.osx.exclude_files = 'Sources/EFStorageYYCache'
s.frameworks = 'Foundation'
s.subspec 'Core' do |sp|
sp.source_files = 'Sources/EFStorageCore'
end
s.subspec 'KeychainAccess' do |sp|
sp.source_files = 'Sources/EFStorageKeychainAccess'
sp.dependency 'KeychainAccess', '~> 4.2.2'
sp.dependency 'EFStorage/Core'
end
s.subspec 'UserDefaults' do |sp|
sp.source_files = 'Sources/EFStorageUserDefaults'
sp.dependency 'EFStorage/Core'
end
s.subspec 'YYCache' do |sp|
sp.platform = :ios
sp.source_files = 'Sources/EFStorageYYCache'
sp.dependency 'YYCache', '~> 1.0.4'
sp.dependency 'EFStorage/Core'
end
end