-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPodfile
32 lines (26 loc) · 1 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
# Uncomment the next line to define a global platform for your project
platform :ios, '13.0'
target 'WhatsAppClone' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
# Pods for WhatsAppClone
pod 'FirebaseAnalytics'
pod 'FirebaseAuth'
pod 'FirebaseFirestore'
pod 'FirebaseStorage'
pod 'FirebaseStorageUI'
names = ['abseil', 'gRPC-C++', 'gRPC-Core', 'BoringSSL-GRPC']
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
if Gem::Version.new('11.0') > Gem::Version.new(config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'])
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
end
end
if names.include?(target.name)
create_symlink_phase = target.shell_script_build_phases.find { |x| x.name == 'Create Symlinks to Header Folders' }
create_symlink_phase.always_out_of_date = "1"
end
end
end
end