-
-
Notifications
You must be signed in to change notification settings - Fork 25
/
Podfile
30 lines (25 loc) · 802 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
source 'https://cdn.cocoapods.org/'
platform :ios, '12.0'
install! 'cocoapods', integrate_targets: false
target 'MLKit' do
use_frameworks!
pod 'GoogleMLKit/FaceDetection', '~> 6.0.0'
pod 'GoogleMLKit/BarcodeScanning', '~> 6.0.0'
end
# Workaround for Xcode 14 beta
# post_install do |installer|
# installer.pods_project.targets.each do |target|
# if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle"
# target.build_configurations.each do |config|
# config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
# end
# end
# end
# end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings.delete('ARCHS')
end
end
end