forked from SilenceLove/HXPHPicker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Podfile
41 lines (34 loc) · 1.11 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
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '12.0'
install! 'cocoapods',
#:deterministic_uuids=>false,
disable_input_output_paths: true,
warn_for_unused_master_specs_repo: false
use_frameworks!
target 'Example' do
# 包含所有功能,网络图片使用的是 'Kingfisher', '~> 7.0'
pod 'HXPHPicker', :path => './'
pod 'GDPerformanceView-Swift'
# pod 'SwiftLint' // ${PODS_ROOT}/SwiftLint/swiftlint
# pod 'GPUImage'
end
#post_install do |installer|
# installer.pods_project.targets.each do |target|
# if target.name == 'Pods-Example'
## Pod::UI.puts "'target':#{target}"
# target.build_configurations.each do |config|
# config.build_settings['MACH_O_TYPE'] = 'mh_dylib'
# end
# end
# end
#end
# https://github.com/CocoaPods/CocoaPods/issues/11402
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