-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy pathPodfile
executable file
·72 lines (54 loc) · 2.34 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
target 'axewallet' do
platform :ios, '12.0'
pod 'AxeSync', :path => '../AxeSync/'
pod 'DAPI-GRPC', :path => '../AxeSync/'
pod 'CloudInAppMessaging', '0.1.0'
pod 'KVO-MVVM', '0.5.6'
pod 'UIViewController-KeyboardAdditions', '1.2.1'
pod 'MBProgressHUD', '1.1.0'
pod 'MMSegmentSlider', :git => 'https://github.com/podkovyrin/MMSegmentSlider', :commit => '2d91366'
# Debugging purposes
# pod 'Reveal-SDK', :configurations => ['Debug']
target 'AxeWalletTests' do
inherit! :search_paths
end
target 'AxeWalletScreenshotsUITests' do
inherit! :search_paths
end
end
target 'TodayExtension' do
platform :ios, '12.0'
pod 'DSDynamicOptions', '0.1.1'
end
target 'WatchApp' do
platform :watchos, '2.0'
end
target 'WatchApp Extension' do
platform :watchos, '2.0'
end
post_install do |installer|
installer.pods_project.targets.each do |target|
# fixes warnings about unsupported Deployment Target in Xcode 10
if ["BoringSSL-GRPC", "abseil", "gRPC", "gRPC-Core", "gRPC-RxLibrary", "gRPC-ProtoRPC", "Protobuf", "DSJSONSchemaValidation", "!ProtoCompiler", "!ProtoCompiler-gRPCPlugin", "gRPC-gRPCCertificates", "UIViewController-KeyboardAdditions", "MMSegmentSlider", "MBProgressHUD", "KVO-MVVM", "CocoaLumberjack"].include? target.name
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '9.0'
end
end
# Hide warnings for specific pods
if ["gRPC"].include? target.name
target.build_configurations.each do |config|
config.build_settings['GCC_WARN_INHIBIT_ALL_WARNINGS'] = 'YES'
end
end
# temporary solution to work with gRPC-Core
# see https://github.com/CocoaPods/CocoaPods/issues/8474
if target.name == 'secp256k1_axe'
target.build_configurations.each do |config|
config.build_settings['HEADER_SEARCH_PATHS'] = '"${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/secp256k1_axe" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/secp256k1_axe"'
end
end
end
# update info about current AxeSync version
# the command runs in the background after 1 sec, when `pod install` updates Podfile.lock
system("(sleep 1; sh ./scripts/axesync_version.sh) &")
end