File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ Pod ::Spec . new do |spec |
2+ spec . name = 'JSONWebToken'
3+ spec . version = '3.0.0'
4+ spec . summary = 'Swift library for JSON Web Tokens (JWT).'
5+ spec . homepage = 'https://github.com/kylef/JSONWebToken.swift'
6+ spec . license = { :type => 'BSD' , :file => 'LICENSE' }
7+ spec . author = { 'Kyle Fuller' => 'kyle@fuller.li' }
8+ spec . source = { :git => 'https://github.com/kylef/JSONWebToken.swift.git' }
9+ spec . source_files = 'Sources/JWT/*.swift' , 'Build-Phases/common-crypto.sh'
10+ spec . ios . deployment_target = '8.0'
11+ spec . osx . deployment_target = '10.9'
12+ spec . tvos . deployment_target = '9.0'
13+ spec . watchos . deployment_target = '2.0'
14+ spec . requires_arc = true
15+ spec . module_name = 'JWT'
16+ spec . exclude_files = [ 'Sources/JWT/HMACCryptoSwift.swift' ]
17+
18+ spec . swift_version = '4.0'
19+
20+ if ARGV . include? ( 'lint' )
21+ spec . pod_target_xcconfig = {
22+ 'SWIFT_INCLUDE_PATHS' => Dir . pwd ,
23+ }
24+ else
25+ spec . pod_target_xcconfig = {
26+ 'SWIFT_INCLUDE_PATHS' => '$(PODS_ROOT)/JSONWebToken/' ,
27+ }
28+ end
29+
30+ spec . preserve_paths = 'Build-Phases/*.sh'
31+ spec . script_phase = { :name => 'CommonCrypto' , :script => 'sh $SRCROOT/JSONWebToken/Build-Phases/common-crypto.sh' , :execution_position => :before_compile }
32+ end
You can’t perform that action at this time.
0 commit comments