-
Notifications
You must be signed in to change notification settings - Fork 361
/
PINCache.podspec
35 lines (35 loc) · 1.32 KB
/
PINCache.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
Pod::Spec.new do |s|
s.name = 'PINCache'
s.version = '3.0.4'
s.homepage = 'https://github.com/pinterest/PINCache'
s.summary = 'Fast, thread safe, parallel object cache for iOS and OS X.'
s.authors = { 'Garrett Moon' => '[email protected]', 'Justin Ouellette' => '[email protected]' }
s.source = { :git => 'https://github.com/pinterest/PINCache.git', :tag => "#{s.version}" }
s.license = { :type => 'Apache 2.0', :file => 'LICENSE.txt' }
s.requires_arc = true
s.frameworks = 'Foundation'
s.ios.weak_frameworks = 'UIKit'
s.osx.weak_frameworks = 'AppKit'
s.cocoapods_version = '>= 1.13.0'
s.ios.deployment_target = '12.0'
s.osx.deployment_target = '10.13'
s.tvos.deployment_target = '12.0'
s.visionos.deployment_target = '1.0'
s.watchos.deployment_target = '4.0'
pch_PIN = <<-EOS
#ifndef TARGET_OS_WATCH
#define TARGET_OS_WATCH 0
#endif
EOS
s.prefix_header_contents = pch_PIN
s.subspec 'Core' do |sp|
sp.source_files = 'Source/*.{h,m}'
sp.dependency 'PINOperation', '~> 1.2.3'
end
s.subspec 'Arc-exception-safe' do |sp|
sp.dependency 'PINCache/Core'
sp.source_files = 'Source/PINDiskCache.m'
sp.compiler_flags = '-fobjc-arc-exceptions'
end
s.resource_bundles = { 'PINCache' => ['Source/PrivacyInfo.xcprivacy'] }
end