forked from MixinNetwork/ios-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPodfile
63 lines (52 loc) · 1.52 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
install! 'cocoapods',
:generate_multiple_pod_projects => true
platform :ios, '13.0'
def mixin_services
pod 'libsignal-protocol-c', :git => 'https://github.com/MixinNetwork/libsignal-protocol-c.git'
pod 'MixinServices', :path => './MixinServices', :testspecs => ['Tests']
end
target 'Mixin' do
use_frameworks!
inhibit_all_warnings!
pod 'Firebase/Core'
pod 'Firebase/Analytics'
pod 'Firebase/Performance'
pod 'Firebase/Crashlytics'
pod 'SnapKit'
pod 'PhoneNumberKit', :git => 'https://github.com/marmelroy/PhoneNumberKit'
pod 'R.swift'
pod 'libwebp'
pod 'SDWebImageLottieCoder'
mixin_services
end
target 'MixinNotificationService' do
use_frameworks!
inhibit_all_warnings!
pod 'R.swift'
mixin_services
end
target 'MixinShare' do
use_frameworks!
inhibit_all_warnings!
pod 'R.swift'
mixin_services
end
target 'MixinDebug' do
use_frameworks!
inhibit_all_warnings!
pod "GCDWebServer"
pod "GCDWebServer/WebDAV"
mixin_services
end
# Prevent sqlite3 being linked to system integrated binary
# https://discuss.zetetic.net/t/important-advisory-sqlcipher-with-xcode-8-and-new-sdks/1688
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
xcconfig_path = config.base_configuration_reference.real_path
xcconfig = File.read(xcconfig_path)
xcconfig_mod = xcconfig.gsub(/ -l"sqlite3"/, "")
File.open(xcconfig_path, "w") { |file| file << xcconfig_mod }
end
end
end