Open coooliang opened 5 years ago
oh I fix it add this in podfile after pod 'JRefresh', '~> 1.5.0'
swift_32 = ['JRefresh']
post_install do |installer|
installer.pods_project.targets.each do |target|
swift_version = nil
if swift_32.include?(target.name)
print "set pod #{target.name} swift version to 3.2"
swift_version = '3.2'
end
if swift_version
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = swift_version
end
end
end
end
UILabelExtension: 'NSAttributedStringKey' has been renamed to 'NSAttributedString.Key' JRefreshAutoNormalFooter: 'UIActivityIndicatorViewStyle' has been renamed to 'UIActivityIndicatorView.Style' 'init(activityIndicatorStyle:)' has been renamed to 'init(style:)' JRefreshNormalHeader: 'kCALineCapRound' has been renamed to 'CAShapeLayerLineCap.round' 'UIActivityIndicatorViewStyle' has been renamed to 'UIActivityIndicatorView.Style' 'init(activityIndicatorStyle:)' has been renamed to 'init(style:)'