This repository has been archived by the owner on Aug 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 53
/
Podfile
54 lines (39 loc) · 1.46 KB
/
Podfile
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
source 'https://github.com/CocoaPods/Specs.git'
platform :osx, '10.12'
use_frameworks!
# ignore all warnings from all pods
inhibit_all_warnings!
def common_pods
# development pods
pod 'TunnelKit', :git => 'https://github.com/passepartoutvpn/tunnelkit', :commit => 'fe697c2c564b5a5339545a1fc5aa737bf3124b24'
pod 'vpncore', :path => '../vpncore' # run `pod update vpncore` after changing source
end
target 'ProtonVPN' do
common_pods
# Third party pods
pod 'KeychainAccess', '3.2.1'
pod 'ReachabilitySwift', '5.0.0'
pod 'Sentry', '4.5.0'
pod 'Sparkle', '1.24.0'
pod 'SDWebImage', '5.10.0'
# Checks code style and bad practices
pod 'SwiftLint'
end
target 'ProtonVPNTests' do
inherit! :search_paths
common_pods
end
post_install do | installer |
# Create plist with info about used frameworks
plugin 'cocoapods-acknowledgements', :exclude => ['vpncore']
require 'fileutils'
FileUtils.cp_r('Pods/Target Support Files/Pods-ProtonVPN/Pods-ProtonVPN-acknowledgements.markdown', 'ACKNOWLEDGEMENTS.md')
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
# Reset deployment targets to use the one we have on the main project
config.build_settings.delete 'MACOSX_DEPLOYMENT_TARGET'
# Exclude arm64 architecture until we support it
config.build_settings["EXCLUDED_ARCHS"] = "arm64"
end
end
end