forked from eduvpn/apple
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPodfile
More file actions
60 lines (46 loc) · 1.13 KB
/
Copy pathPodfile
File metadata and controls
60 lines (46 loc) · 1.13 KB
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
source 'https://cdn.cocoapods.org/'
use_frameworks!
inhibit_all_warnings!
install! 'cocoapods', :generate_multiple_pod_projects => true
project 'EduVPN', 'Debug' => :debug, 'Release' => :release
# iOS Pods
def pods_ios
platform :ios, '11.0'
pod 'TunnelKit'
end
# macOS Pods
def pods_macos
platform :osx, '10.12'
pod 'TunnelKit'
end
# Setup targets
target 'EduVPN' do
pods_ios
pod 'Kingfisher'
pod 'AppAuth', :git => 'https://github.com/openid/AppAuth-iOS.git'
pod 'ASN1Decoder'
pod 'libsodium'
pod 'Moya'
pod 'PromiseKit/CorePromise'
end
target 'EduVPNTunnelExtension' do
pods_ios
end
target 'EduVPN-macOS' do
pods_macos
pod 'AppAuth', :git => 'https://github.com/openid/AppAuth-iOS.git'
pod 'ASN1Decoder'
pod 'Kingfisher'
pod 'libsodium'
pod 'Moya'
pod 'PromiseKit/CorePromise'
pod 'FileKit'
end
target 'EduVPNTunnelExtension-macOS' do
pods_macos
end
# Post install
post_install do | installer |
require 'fileutils'
FileUtils.cp_r('Pods/Target Support Files/Pods-EduVPN/Pods-EduVPN-Acknowledgements.plist', 'EduVPN/Resources/Settings.bundle/Acknowledgements.plist', :remove_destination => true)
end