-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathPodfile
31 lines (26 loc) · 904 Bytes
/
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
platform :ios, '13.0'
use_frameworks!
target 'ARTrailer' do
pod 'TesseractOCRiOS', '4.0.0'
pod 'YoutubeDirectLinkExtractor'
pod 'Alamofire', '~> 5.2'
pod 'SwiftyJSON', '~> 4.0'
end
post_install do |installer|
installer.pods_project.targets.each do |target|
if target.name == 'TesseractOCRiOS'
target.build_configurations.each do |config|
config.build_settings['ENABLE_BITCODE'] = 'NO'
end
header_phase = target.build_phases().select do |phase|
phase.is_a? Xcodeproj::Project::PBXHeadersBuildPhase
end.first
duplicated_header_files = header_phase.files.select do |file|
file.display_name == 'config_auto.h'
end
duplicated_header_files.each do |file|
header_phase.remove_build_file file
end
end
end
end