forked from zmian/xcore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Local.podspec
25 lines (25 loc) · 1018 Bytes
/
Local.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
Pod::Spec.new do |s|
s.name = 'Xcore'
s.version = '1.0.0'
s.license = 'MIT'
s.summary = 'Swift Toolbox'
s.homepage = 'https://github.com/zmian/xcore.swift'
s.authors = { 'Zeeshan Mian' => 'https://twitter.com/zmian' }
s.source = { :path => './' }
s.source_files = 'Sources/**/*.swift'
s.resources = 'Sources/**/*.xcassets'
s.requires_arc = true
s.ios.deployment_target = '12.0'
s.pod_target_xcconfig = {
'SWIFT_VERSION' => '5.1',
'SWIFT_INSTALL_OBJC_HEADER' => 'NO'
}
# Fixed iOS 12 simulator runtime error: dyld: Library not loaded: /System/Library/Frameworks/CryptoKit.framework/CryptoKit
# https://forums.swift.org/t/conditionally-use-cryptokit/30138/2
# Only needed if the `deployment_target` < 13
s.weak_frameworks = 'CryptoKit'
s.dependency 'SDWebImage'
s.dependency 'PromiseKit'
s.dependency 'Haring'
s.dependency 'SnapKit'
end