File tree Expand file tree Collapse file tree 3 files changed +18
-2
lines changed Expand file tree Collapse file tree 3 files changed +18
-2
lines changed Original file line number Diff line number Diff line change
1
+ module CommonCrypto [system] {
2
+ header "shim.h"
3
+ export *
4
+ }
Original file line number Diff line number Diff line change
1
+ #include <CommonCrypto/CommonCrypto.h>
Original file line number Diff line number Diff line change @@ -12,7 +12,18 @@ Pod::Spec.new do |spec|
12
12
spec . tvos . deployment_target = '9.0'
13
13
spec . watchos . deployment_target = '2.0'
14
14
spec . requires_arc = true
15
- spec . dependency 'CryptoSwift' , '~> 0.6.1'
16
15
spec . module_name = 'JWT'
17
- spec . exclude_files = [ 'Sources/HMACCommonCrypto.swift' ]
16
+ spec . exclude_files = [ 'Sources/HMACCryptoSwift.swift' ]
17
+
18
+ if ARGV . include? ( 'lint' )
19
+ spec . pod_target_xcconfig = {
20
+ 'SWIFT_INCLUDE_PATHS' => Dir . pwd ,
21
+ }
22
+ else
23
+ spec . pod_target_xcconfig = {
24
+ 'SWIFT_INCLUDE_PATHS' => '$(PODS_ROOT)/JSONWebToken/' ,
25
+ }
26
+ end
27
+
28
+ spec . preserve_paths = 'CommonCrypto/{shim.h,module.modulemap}'
18
29
end
You can’t perform that action at this time.
0 commit comments