Closed yinanwang1 closed 5 years ago
me too.
`post_install do |installer|
swift4_pods = ['ESPullToRefresh']
installer.pods_project.targets.each do |target|
if swift4_pods.include?(target.name)
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '4.0'
end
end
end
end`
can try with this (put to end of pod file)
@hoangtuanfithou Yes, that's ok by this way. If the author will upgrade this framework, that will be better.
每次pod install后,就提示错误。因为不支持swift 4.2版本,需要手动设置为swift 4.0后才可以。